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.001257/0.001257, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001357/0.001357, allocations: 220.6 kB / 23.03 MB, free: 4.945 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.426/1.426, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.8966/0.8966, allocations: 134 MB / 447.2 MB, free: 9.973 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpData_Specification",fmuType="cs",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.001946/0.001946, allocations: 64.28 kB / 0.6192 GB, free: 6.898 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1923/0.1943, allocations: 85.9 MB / 0.7031 GB, free: 1.098 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.6398/0.8341, allocations: 135.2 MB / 0.8351 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01448/0.8486, allocations: 9.769 MB / 0.8447 GB, free: 2.285 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009417/0.8495, allocations: 27.81 kB / 0.8447 GB, free: 2.258 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0009776/0.8505, allocations: 277.8 kB / 0.845 GB, free: 1.984 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002987/0.8535, allocations: 0.9179 MB / 0.8459 GB, free: 1.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002875/0.8564, allocations: 1.069 MB / 0.8469 GB, free: 12 kB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002183/0.8586, allocations: 1.531 MB / 0.8484 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001558/0.8601, allocations: 0.9576 MB / 0.8493 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002196/0.8623, allocations: 0.7074 MB / 0.85 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009186/0.8632, allocations: 0.5678 MB / 0.8506 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002386/0.8635, allocations: 124 kB / 0.8507 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002257/0.8657, allocations: 1.034 MB / 0.8517 GB, free: 11.08 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004084/0.8661, allocations: 362.8 kB / 0.8521 GB, free: 10.72 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0006334/0.8668, allocations: 0.5014 MB / 0.8525 GB, free: 10.22 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003725/0.8705, allocations: 2.139 MB / 0.8546 GB, free: 8.078 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.8705, allocations: 0 / 0.8546 GB, free: 8.078 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.324e-06/0.8705, allocations: 0 / 0.8546 GB, free: 8.078 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 3.579e-05/0.8705, allocations: 0 / 0.8546 GB, free: 8.078 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.003352/0.8739, allocations: 1.622 MB / 0.8562 GB, free: 6.414 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.8739, allocations: 11.97 kB / 0.8562 GB, free: 6.402 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.502e-05/0.874, allocations: 26 kB / 0.8563 GB, free: 6.379 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001899/0.8742, allocations: 144.6 kB / 0.8564 GB, free: 6.23 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002251/0.8764, allocations: 314.9 kB / 0.8567 GB, free: 5.922 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001785/0.8782, allocations: 0.9943 MB / 0.8577 GB, free: 4.898 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.419e-05/0.8783, allocations: 70 kB / 0.8577 GB, free: 4.828 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001453/0.8784, allocations: 88 kB / 0.8578 GB, free: 4.742 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002223/0.8807, allocations: 1.424 MB / 0.8592 GB, free: 3.188 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.081e-05/0.8807, allocations: 0 / 0.8592 GB, free: 3.188 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001069/0.8808, allocations: 43.94 kB / 0.8592 GB, free: 3.145 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.33e-05/0.8808, allocations: 24 kB / 0.8593 GB, free: 3.121 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002261/0.8831, allocations: 1.276 MB / 0.8605 GB, free: 1.848 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.005409/0.8885, allocations: 2.627 MB / 0.8631 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00181/0.8903, allocations: 0.9025 MB / 0.864 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007242/0.891, allocations: 357.2 kB / 0.8643 GB, free: 13.89 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002242/0.8912, allocations: 52.95 kB / 0.8644 GB, free: 13.84 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001212/0.8924, allocations: 0.7766 MB / 0.8651 GB, free: 13 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=86): time 4.869e-06/0.8924, allocations: 3.984 kB / 0.8651 GB, free: 12.99 MB / 0.6387 GB Notification: Performance of matching and sorting (n=86): time 0.004038/0.8965, allocations: 1.36 MB / 0.8664 GB, free: 11.62 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000124/0.8966, allocations: 188.9 kB / 0.8666 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001396/0.898, allocations: 1.009 MB / 0.8676 GB, free: 10.37 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001247/0.8981, allocations: 49.64 kB / 0.8677 GB, free: 10.32 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004394/0.8986, allocations: 461.1 kB / 0.8681 GB, free: 9.859 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003119/0.8989, allocations: 301.5 kB / 0.8684 GB, free: 9.562 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002753/0.8992, allocations: 158.5 kB / 0.8685 GB, free: 9.402 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001632/0.8993, allocations: 337.9 kB / 0.8689 GB, free: 9.066 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007001/0.9, allocations: 301.8 kB / 0.8691 GB, free: 8.773 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009195/0.9009, allocations: 0.6198 MB / 0.8697 GB, free: 8.066 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00147/0.9024, allocations: 0.7179 MB / 0.8705 GB, free: 7.34 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.199e-06/0.9024, allocations: 0 / 0.8705 GB, free: 7.34 MB / 0.6387 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002605/0.905, allocations: 0.9592 MB / 0.8714 GB, free: 6.367 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.428e-05/0.905, allocations: 8 kB / 0.8714 GB, free: 6.359 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.769e-06/0.9051, allocations: 0 / 0.8714 GB, free: 6.359 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008099/0.9059, allocations: 117.7 kB / 0.8715 GB, free: 6.238 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008635/0.9067, allocations: 175.8 kB / 0.8717 GB, free: 6.066 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003487/0.9102, allocations: 2.854 MB / 0.8745 GB, free: 2.988 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009168/0.9111, allocations: 100.7 kB / 0.8746 GB, free: 2.891 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.606e-05/0.9112, allocations: 27.98 kB / 0.8746 GB, free: 2.863 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.0005898/0.9118, allocations: 297.7 kB / 0.8749 GB, free: 2.562 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00031/0.9121, allocations: 103.8 kB / 0.875 GB, free: 2.461 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002958/0.9151, allocations: 1.221 MB / 0.8762 GB, free: 1.215 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.199e-05/0.9151, allocations: 15.94 kB / 0.8762 GB, free: 1.199 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.9151, allocations: 0 / 0.8762 GB, free: 1.199 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.261e-05/0.9151, allocations: 7.969 kB / 0.8762 GB, free: 1.191 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004315/0.9194, allocations: 2.103 MB / 0.8782 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.668e-06/0.9194, allocations: 0 / 0.8782 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000831/0.9203, allocations: 183.7 kB / 0.8784 GB, free: 14.86 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005715/0.9208, allocations: 101.6 kB / 0.8785 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.545e-05/0.9209, allocations: 27.97 kB / 0.8785 GB, free: 14.72 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00314/0.9241, allocations: 2.881 MB / 0.8813 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.9241, allocations: 4.031 kB / 0.8814 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002687/0.9267, allocations: 1.14 MB / 0.8825 GB, free: 10.44 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006006/0.9273, allocations: 234.9 kB / 0.8827 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002038/0.9275, allocations: 20 kB / 0.8827 GB, free: 10.19 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008251/0.9284, allocations: 69.97 kB / 0.8828 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001722/0.9285, allocations: 76.78 kB / 0.8828 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001056/0.9286, allocations: 39.98 kB / 0.8829 GB, free: 10.01 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001156/0.9298, allocations: 0.7372 MB / 0.8836 GB, free: 9.277 MB / 0.6544 GB Notification: Performance of sort global known variables: time 7e-08/0.9298, allocations: 0 / 0.8836 GB, free: 9.277 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001266/0.9311, allocations: 422.9 kB / 0.884 GB, free: 8.863 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.005208/0.9363, allocations: 2.32 MB / 0.8863 GB, free: 6.754 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002242/0.9385, allocations: 0.9978 MB / 0.8872 GB, free: 5.73 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.9385, allocations: 4 kB / 0.8873 GB, free: 5.727 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001302/0.9398, allocations: 0.6669 MB / 0.8879 GB, free: 5.035 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001696/0.9415, allocations: 340.5 kB / 0.8882 GB, free: 4.727 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01708/0.9586, allocations: 8.076 MB / 0.8961 GB, free: 12.5 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006435/0.9593, allocations: 0.4886 MB / 0.8966 GB, free: 11.97 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.00109/0.9603, allocations: 311.2 kB / 0.8969 GB, free: 11.66 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007246/0.9611, allocations: 439.2 kB / 0.8973 GB, free: 11.23 MB / 0.67 GB Notification: Performance of SimCode: time 1.352e-06/0.9611, allocations: 4 kB / 0.8973 GB, free: 11.23 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09405/1.055, allocations: 28.33 MB / 0.925 GB, free: 15.2 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.98/16.03, allocations: 7.312 kB / 0.925 GB, free: 15.2 MB / 0.7012 GB " [Timeout remaining time 644] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpData_Specification_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=50 --tolerance=1e-06 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.95264497504104] Failed to read output from testmodel.py, exit status != 0: 16.320116988033988 16.349141288 15.472634535 Calling exit ...