Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.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.001398/0.001398, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.00188/0.00188, allocations: 213.7 kB / 22.25 MB, free: 4.852 MB / 14.72 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 1.464/1.464, allocations: 230.6 MB / 256 MB, free: 7.824 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8511/0.8511, allocations: 134 MB / 446.4 MB, free: 9.984 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpData_Specification",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpData_Specification",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003265/0.003265, allocations: 63.66 kB / 0.6185 GB, free: 6.949 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1916/0.1948, allocations: 85.92 MB / 0.7024 GB, free: 1.129 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.5862/0.781, allocations: 135.3 MB / 0.8345 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01527/0.7963, allocations: 9.794 MB / 0.844 GB, free: 2.215 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008866/0.7972, allocations: 27.75 kB / 0.8441 GB, free: 2.188 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0008854/0.7981, allocations: 265.8 kB / 0.8443 GB, free: 1.926 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002975/0.8011, allocations: 0.9134 MB / 0.8452 GB, free: 1.012 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002647/0.8037, allocations: 1.077 MB / 0.8463 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.00186/0.8056, allocations: 1.539 MB / 0.8478 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001346/0.8069, allocations: 0.9301 MB / 0.8487 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002017/0.8089, allocations: 0.7127 MB / 0.8494 GB, free: 12.76 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007152/0.8096, allocations: 0.5093 MB / 0.8499 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002157/0.8099, allocations: 131.9 kB / 0.85 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002072/0.8119, allocations: 0.9947 MB / 0.851 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003783/0.8123, allocations: 366.9 kB / 0.8513 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0006106/0.8129, allocations: 0.4897 MB / 0.8518 GB, free: 10.27 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003327/0.8162, allocations: 2.156 MB / 0.8539 GB, free: 8.117 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.8163, allocations: 0 / 0.8539 GB, free: 8.117 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.573e-06/0.8163, allocations: 0 / 0.8539 GB, free: 8.117 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.958e-05/0.8163, allocations: 4 kB / 0.8539 GB, free: 8.113 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.002961/0.8192, allocations: 1.614 MB / 0.8555 GB, free: 6.457 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.8193, allocations: 8.031 kB / 0.8555 GB, free: 6.449 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001836/0.8195, allocations: 143.7 kB / 0.8556 GB, free: 6.301 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0021/0.8216, allocations: 310.9 kB / 0.8559 GB, free: 5.996 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001617/0.8232, allocations: 0.9981 MB / 0.8569 GB, free: 4.973 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.588e-05/0.8233, allocations: 77.97 kB / 0.857 GB, free: 4.898 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001253/0.8234, allocations: 95.94 kB / 0.857 GB, free: 4.805 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002134/0.8255, allocations: 1.424 MB / 0.8584 GB, free: 3.246 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.173e-05/0.8255, allocations: 0 / 0.8584 GB, free: 3.246 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.216e-05/0.8256, allocations: 40 kB / 0.8585 GB, free: 3.207 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.174e-05/0.8256, allocations: 20 kB / 0.8585 GB, free: 3.188 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002269/0.8279, allocations: 1.225 MB / 0.8597 GB, free: 1.965 MB / 0.6231 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005002/0.8329, allocations: 2.631 MB / 0.8623 GB, free: 15.26 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00176/0.8347, allocations: 0.8942 MB / 0.8631 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007048/0.8354, allocations: 361.2 kB / 0.8635 GB, free: 14.01 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002018/0.8356, allocations: 52.89 kB / 0.8635 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001209/0.8368, allocations: 0.7851 MB / 0.8643 GB, free: 13.1 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=86): time 2.244e-06/0.8368, allocations: 0 / 0.8643 GB, free: 13.1 MB / 0.6387 GB Notification: Performance of matching and sorting (n=86): time 0.003924/0.8407, allocations: 1.36 MB / 0.8656 GB, free: 11.73 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001264/0.8408, allocations: 192.9 kB / 0.8658 GB, free: 11.5 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001352/0.8422, allocations: 1.005 MB / 0.8668 GB, free: 10.48 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 9.095e-05/0.8423, allocations: 45.7 kB / 0.8668 GB, free: 10.43 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004378/0.8427, allocations: 461.1 kB / 0.8673 GB, free: 9.973 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002803/0.843, allocations: 301.4 kB / 0.8676 GB, free: 9.676 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002439/0.8432, allocations: 154.6 kB / 0.8677 GB, free: 9.52 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001601/0.8434, allocations: 337.9 kB / 0.868 GB, free: 9.184 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000745/0.8442, allocations: 305.8 kB / 0.8683 GB, free: 8.887 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009251/0.8451, allocations: 0.6276 MB / 0.8689 GB, free: 8.172 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001438/0.8465, allocations: 0.7062 MB / 0.8696 GB, free: 7.457 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.8465, allocations: 3.938 kB / 0.8696 GB, free: 7.453 MB / 0.6387 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002612/0.8491, allocations: 0.9592 MB / 0.8706 GB, free: 6.477 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.8492, allocations: 11.94 kB / 0.8706 GB, free: 6.465 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.8492, allocations: 4.062 kB / 0.8706 GB, free: 6.461 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007369/0.8499, allocations: 113.6 kB / 0.8707 GB, free: 6.344 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008238/0.8507, allocations: 179.8 kB / 0.8709 GB, free: 6.168 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003445/0.8542, allocations: 2.837 MB / 0.8736 GB, free: 3.105 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008342/0.855, allocations: 104.4 kB / 0.8737 GB, free: 3.004 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.756e-05/0.8551, allocations: 27.98 kB / 0.8738 GB, free: 2.977 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 (weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006542/0.8557, allocations: 293.6 kB / 0.874 GB, free: 2.68 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002321/0.856, allocations: 99.33 kB / 0.8741 GB, free: 2.582 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002921/0.8589, allocations: 1.237 MB / 0.8753 GB, free: 1.328 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-05/0.8589, allocations: 19.86 kB / 0.8754 GB, free: 1.309 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.8589, allocations: 0 / 0.8754 GB, free: 1.309 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.859e-06/0.8589, allocations: 3.984 kB / 0.8754 GB, free: 1.305 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004181/0.8631, allocations: 2.099 MB / 0.8774 GB, free: 15.15 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.8631, allocations: 4 kB / 0.8774 GB, free: 15.14 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008142/0.8639, allocations: 179.8 kB / 0.8776 GB, free: 14.97 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005459/0.8645, allocations: 109.6 kB / 0.8777 GB, free: 14.86 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001298/0.8646, allocations: 23.98 kB / 0.8777 GB, free: 14.83 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003588/0.8682, allocations: 2.877 MB / 0.8805 GB, free: 11.72 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.8682, allocations: 8.031 kB / 0.8805 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002674/0.8708, allocations: 1.144 MB / 0.8816 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000569/0.8714, allocations: 234.9 kB / 0.8819 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000129/0.8715, allocations: 16 kB / 0.8819 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007049/0.8723, allocations: 67.92 kB / 0.882 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001596/0.8724, allocations: 72.86 kB / 0.882 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.353e-05/0.8725, allocations: 35.98 kB / 0.8821 GB, free: 10.13 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001116/0.8736, allocations: 0.7411 MB / 0.8828 GB, free: 9.395 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8736, allocations: 4 kB / 0.8828 GB, free: 9.391 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001134/0.8747, allocations: 422.9 kB / 0.8832 GB, free: 8.977 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004996/0.8797, allocations: 2.318 MB / 0.8855 GB, free: 6.863 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002287/0.882, allocations: 1.002 MB / 0.8864 GB, free: 5.84 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 9.378e-06/0.882, allocations: 8 kB / 0.8864 GB, free: 5.832 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.00126/0.8833, allocations: 0.663 MB / 0.8871 GB, free: 5.145 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00147/0.8848, allocations: 343.9 kB / 0.8874 GB, free: 4.832 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01469/0.8995, allocations: 8.066 MB / 0.8953 GB, free: 12.61 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005565/0.9, allocations: 495.5 kB / 0.8958 GB, free: 12.09 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001003/0.901, allocations: 307.4 kB / 0.8961 GB, free: 11.79 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006696/0.9017, allocations: 443.2 kB / 0.8965 GB, free: 11.35 MB / 0.67 GB Notification: Performance of SimCode: time 9.42e-07/0.9017, allocations: 0 / 0.8965 GB, free: 11.35 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07577/0.9775, allocations: 28.52 MB / 0.9243 GB, free: 15.09 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.17/15.14, allocations: 13.05 kB / 0.9243 GB, free: 15.09 MB / 0.7012 GB " [Timeout remaining time 645] (rm -f IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpData_Specification.fmu > IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.150912493932992] Failed to read output from testmodel.py, exit status != 0: 15.377120167948306 15.392761298 14.573185838 Calling exit ...