Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 169.9 kB / 22.46 MB, free: 2.102 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9387/0.9387, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7473/0.7473, allocations: 154.5 MB / 413.7 MB, free: 0.8281 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.374e-06/2.374e-06, allocations: 0 / 0.618 GB, free: 13.72 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.204e-05/2.442e-05, allocations: 5.375 kB / 0.6181 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.002513/0.002537, allocations: 1.512 MB / 0.6195 GB, free: 12.19 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0006992/0.003236, allocations: 466.8 kB / 0.62 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.571e-05/0.003302, allocations: 3.938 kB / 0.62 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.219e-05/0.003334, allocations: 11.92 kB / 0.62 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.964e-05/0.003384, allocations: 11.86 kB / 0.62 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002481/0.003632, allocations: 35.89 kB / 0.62 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0003889/0.004021, allocations: 55.72 kB / 0.6201 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.152e-05/0.004112, allocations: 11.98 kB / 0.6201 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001364/0.004249, allocations: 39.84 kB / 0.6201 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.19e-05/0.00431, allocations: 23.91 kB / 0.6202 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.611e-05/0.004327, allocations: 8 kB / 0.6202 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 4.439e-05/0.004371, allocations: 4 kB / 0.6202 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.216e-05/0.004383, allocations: 8 kB / 0.6202 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.429e-05/0.004417, allocations: 15.92 kB / 0.6202 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001317/0.004549, allocations: 55.8 kB / 0.6202 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.004554, allocations: 0 / 0.6202 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.803e-06/0.004555, allocations: 0 / 0.6202 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.279e-06/0.004561, allocations: 0 / 0.6202 GB, free: 11.45 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003975/0.004958, allocations: 290.1 kB / 0.6205 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/0.005007, allocations: 13.47 kB / 0.6205 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.621e-05/0.005043, allocations: 42.75 kB / 0.6206 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00013/0.005173, allocations: 20.88 kB / 0.6206 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002207/0.005394, allocations: 117.7 kB / 0.6207 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.005406, allocations: 4.375 kB / 0.6207 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.215e-05/0.005418, allocations: 4.375 kB / 0.6207 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001423/0.00556, allocations: 54.17 kB / 0.6208 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.005569, allocations: 192 / 0.6208 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.005581, allocations: 4.125 kB / 0.6208 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.005587, allocations: 7.984 kB / 0.6208 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.553e-05/0.005663, allocations: 31.98 kB / 0.6208 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003176/0.00598, allocations: 247.9 kB / 0.621 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 9.086e-05/0.006071, allocations: 50.44 kB / 0.6211 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.392e-05/0.006115, allocations: 20.94 kB / 0.6211 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.527e-05/0.006131, allocations: 3.938 kB / 0.6211 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.178e-05/0.006152, allocations: 38.55 kB / 0.6212 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.006153, allocations: 4 kB / 0.6212 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0002383/0.006392, allocations: 85.61 kB / 0.6212 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.743e-05/0.006429, allocations: 55.41 kB / 0.6213 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.18e-05/0.006511, allocations: 125.2 kB / 0.6214 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.052e-05/0.006522, allocations: 25.7 kB / 0.6214 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.407e-05/0.006566, allocations: 88.14 kB / 0.6215 GB, free: 9.973 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.043e-05/0.006586, allocations: 11.89 kB / 0.6215 GB, free: 9.961 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.108e-05/0.006617, allocations: 17.7 kB / 0.6216 GB, free: 9.938 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.82e-05/0.006705, allocations: 318.8 kB / 0.6219 GB, free: 9.617 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.888e-05/0.006744, allocations: 19.98 kB / 0.6219 GB, free: 9.598 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.018e-05/0.006774, allocations: 11.98 kB / 0.6219 GB, free: 9.586 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.22e-05/0.006847, allocations: 41.11 kB / 0.6219 GB, free: 9.543 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.006849, allocations: 0 / 0.6219 GB, free: 9.543 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001013/0.00695, allocations: 81.55 kB / 0.622 GB, free: 9.457 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.006966, allocations: 11.92 kB / 0.622 GB, free: 9.445 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.006972, allocations: 4 kB / 0.622 GB, free: 9.441 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.006988, allocations: 4 kB / 0.622 GB, free: 9.438 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.831e-05/0.007066, allocations: 7.938 kB / 0.622 GB, free: 9.43 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.007072, allocations: 0 / 0.622 GB, free: 9.43 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.458e-05/0.007096, allocations: 7.984 kB / 0.622 GB, free: 9.422 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.007104, allocations: 0 / 0.622 GB, free: 9.422 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.488e-05/0.007169, allocations: 114.8 kB / 0.6221 GB, free: 9.301 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.686e-05/0.007186, allocations: 11.89 kB / 0.6222 GB, free: 9.289 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.509e-05/0.007211, allocations: 11.98 kB / 0.6222 GB, free: 9.27 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.007213, allocations: 4 kB / 0.6222 GB, free: 9.266 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.157e-05/0.007225, allocations: 4 kB / 0.6222 GB, free: 9.262 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.007228, allocations: 0 / 0.6222 GB, free: 9.262 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000127/0.007355, allocations: 136.7 kB / 0.6223 GB, free: 9.086 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.007356, allocations: 0 / 0.6223 GB, free: 9.086 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.625e-05/0.007392, allocations: 15.98 kB / 0.6223 GB, free: 9.07 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.007395, allocations: 0 / 0.6223 GB, free: 9.07 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.714e-06/0.007402, allocations: 0 / 0.6223 GB, free: 9.07 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.007404, allocations: 0 / 0.6223 GB, free: 9.07 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.007406, allocations: 0 / 0.6223 GB, free: 9.07 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001448/0.00755, allocations: 179.3 kB / 0.6225 GB, free: 8.879 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.476e-06/0.007559, allocations: 4 kB / 0.6225 GB, free: 8.875 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.109e-05/0.00757, allocations: 0 / 0.6225 GB, free: 8.875 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.888e-05/0.007609, allocations: 7.984 kB / 0.6225 GB, free: 8.867 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.854e-05/0.007647, allocations: 4 kB / 0.6225 GB, free: 8.863 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-06/0.007652, allocations: 4 kB / 0.6225 GB, free: 8.859 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.134e-05/0.007694, allocations: 99.2 kB / 0.6226 GB, free: 8.762 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.007694, allocations: 0 / 0.6226 GB, free: 8.762 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001522/0.007846, allocations: 15.89 kB / 0.6226 GB, free: 8.746 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003787/0.008225, allocations: 0.7007 MB / 0.6233 GB, free: 8.016 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001374/0.008362, allocations: 43.89 kB / 0.6233 GB, free: 7.973 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.008364, allocations: 0 / 0.6233 GB, free: 7.973 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.991e-05/0.008404, allocations: 19.98 kB / 0.6234 GB, free: 7.953 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001805/0.008584, allocations: 5.875 kB / 0.6234 GB, free: 7.949 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001179/0.009763, allocations: 1.365 MB / 0.6247 GB, free: 6.504 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.867e-05/0.009822, allocations: 67.34 kB / 0.6248 GB, free: 6.418 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.897e-05/0.009861, allocations: 11.97 kB / 0.6248 GB, free: 6.406 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.97e-05/0.009921, allocations: 12.5 kB / 0.6248 GB, free: 6.395 MB / 0.5886 GB Notification: Performance of SimCode: time 9.51e-07/0.009922, allocations: 4 kB / 0.6248 GB, free: 6.391 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01941/0.02933, allocations: 2.205 MB / 0.627 GB, free: 4.355 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.816/6.845, allocations: 0 / 0.627 GB, free: 4.355 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 IDEAS_dev_IDEAS_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc.fmu > IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.784696383401752] Failed to read output from testmodel.py, exit status != 0: 6.926926976069808 6.939085595 6.932249724 Calling exit ...