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.001305/0.001305, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001461/0.001461, allocations: 214.6 kB / 22.25 MB, free: 5.258 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.409/1.409, allocations: 230.6 MB / 256 MB, free: 7.789 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.8207/0.8207, allocations: 134 MB / 446.4 MB, free: 9.918 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.001996/0.001996, allocations: 72.27 kB / 0.6185 GB, free: 7.031 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1739/0.1759, allocations: 85.9 MB / 0.7024 GB, free: 1.211 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.6072/0.783, allocations: 135.3 MB / 0.8345 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01596/0.799, allocations: 9.791 MB / 0.844 GB, free: 2.23 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009127/0.7999, allocations: 31.75 kB / 0.8441 GB, free: 2.199 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001192/0.8011, allocations: 261.9 kB / 0.8443 GB, free: 1.941 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003242/0.8043, allocations: 0.9281 MB / 0.8452 GB, free: 1.016 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002989/0.8073, allocations: 1.07 MB / 0.8463 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002354/0.8097, allocations: 1.538 MB / 0.8478 GB, free: 14.42 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001854/0.8115, allocations: 0.9299 MB / 0.8487 GB, free: 13.47 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002218/0.8137, allocations: 0.7005 MB / 0.8493 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009662/0.8147, allocations: 0.5171 MB / 0.8499 GB, free: 12.26 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0003671/0.8151, allocations: 124 kB / 0.85 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002461/0.8175, allocations: 0.9986 MB / 0.8509 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0005453/0.8181, allocations: 370.8 kB / 0.8513 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0008725/0.819, allocations: 0.5013 MB / 0.8518 GB, free: 10.27 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.004135/0.8231, allocations: 2.144 MB / 0.8539 GB, free: 8.121 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.8231, allocations: 0 / 0.8539 GB, free: 8.121 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.094e-06/0.8231, allocations: 0 / 0.8539 GB, free: 8.121 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.378e-05/0.8232, allocations: 0 / 0.8539 GB, free: 8.121 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.004109/0.8273, allocations: 1.618 MB / 0.8555 GB, free: 6.461 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/0.8273, allocations: 8.031 kB / 0.8555 GB, free: 6.453 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003091/0.8276, allocations: 147.7 kB / 0.8556 GB, free: 6.301 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002392/0.83, allocations: 310.9 kB / 0.8559 GB, free: 5.996 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002096/0.8321, allocations: 0.9982 MB / 0.8569 GB, free: 4.969 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.185e-05/0.8322, allocations: 70 kB / 0.8569 GB, free: 4.902 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001831/0.8324, allocations: 90.56 kB / 0.857 GB, free: 4.816 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00247/0.8349, allocations: 1.428 MB / 0.8584 GB, free: 3.254 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.32e-05/0.8349, allocations: 0 / 0.8584 GB, free: 3.254 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001049/0.835, allocations: 36 kB / 0.8585 GB, free: 3.219 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.595e-05/0.835, allocations: 24 kB / 0.8585 GB, free: 3.195 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002356/0.8374, allocations: 1.225 MB / 0.8597 GB, free: 1.973 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.005498/0.8429, allocations: 2.643 MB / 0.8623 GB, free: 15.26 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001901/0.8448, allocations: 0.8864 MB / 0.8631 GB, free: 14.37 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007851/0.8456, allocations: 361.2 kB / 0.8635 GB, free: 14.02 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002348/0.8458, allocations: 52.95 kB / 0.8635 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001317/0.8471, allocations: 0.7734 MB / 0.8643 GB, free: 13.11 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=86): time 3.126e-06/0.8471, allocations: 0 / 0.8643 GB, free: 13.11 MB / 0.6387 GB Notification: Performance of matching and sorting (n=86): time 0.004174/0.8513, allocations: 1.36 MB / 0.8656 GB, free: 11.75 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001458/0.8514, allocations: 192.9 kB / 0.8658 GB, free: 11.51 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001538/0.853, allocations: 1.009 MB / 0.8668 GB, free: 10.49 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001026/0.8531, allocations: 41.7 kB / 0.8668 GB, free: 10.45 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004843/0.8536, allocations: 465.1 kB / 0.8673 GB, free: 9.984 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003222/0.8539, allocations: 297.5 kB / 0.8675 GB, free: 9.691 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002598/0.8541, allocations: 158.6 kB / 0.8677 GB, free: 9.531 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001829/0.8543, allocations: 341.9 kB / 0.868 GB, free: 9.191 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008053/0.8551, allocations: 297.8 kB / 0.8683 GB, free: 8.902 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001003/0.8561, allocations: 0.6315 MB / 0.8689 GB, free: 8.184 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001537/0.8577, allocations: 0.7101 MB / 0.8696 GB, free: 7.465 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/0.8577, allocations: 0 / 0.8696 GB, free: 7.465 MB / 0.6387 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002578/0.8602, allocations: 0.9631 MB / 0.8706 GB, free: 6.484 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/0.8603, allocations: 8.062 kB / 0.8706 GB, free: 6.477 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.8603, allocations: 4 kB / 0.8706 GB, free: 6.473 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008712/0.8611, allocations: 113.5 kB / 0.8707 GB, free: 6.355 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008435/0.862, allocations: 179.8 kB / 0.8708 GB, free: 6.18 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003734/0.8657, allocations: 2.854 MB / 0.8736 GB, free: 3.102 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009076/0.8666, allocations: 99.56 kB / 0.8737 GB, free: 3.004 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.949e-05/0.8667, allocations: 36.72 kB / 0.8738 GB, free: 2.969 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.0007157/0.8674, allocations: 287.8 kB / 0.874 GB, free: 2.68 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003662/0.8678, allocations: 103.3 kB / 0.8741 GB, free: 2.578 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003167/0.871, allocations: 1.226 MB / 0.8753 GB, free: 1.336 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.542e-05/0.871, allocations: 15.94 kB / 0.8753 GB, free: 1.32 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.871, allocations: 0 / 0.8753 GB, free: 1.32 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.152e-05/0.871, allocations: 3.984 kB / 0.8754 GB, free: 1.316 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004907/0.8759, allocations: 2.099 MB / 0.8774 GB, free: 15.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.8759, allocations: 0 / 0.8774 GB, free: 15.16 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008295/0.8767, allocations: 183.8 kB / 0.8776 GB, free: 14.98 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006165/0.8774, allocations: 109.6 kB / 0.8777 GB, free: 14.87 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.738e-05/0.8774, allocations: 23.98 kB / 0.8777 GB, free: 14.84 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003335/0.8808, allocations: 2.877 MB / 0.8805 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.93e-06/0.8808, allocations: 3.984 kB / 0.8805 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002787/0.8836, allocations: 1.147 MB / 0.8816 GB, free: 10.56 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000667/0.8842, allocations: 238.9 kB / 0.8819 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002159/0.8845, allocations: 20 kB / 0.8819 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008446/0.8853, allocations: 63.92 kB / 0.8819 GB, free: 10.24 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001696/0.8855, allocations: 72.86 kB / 0.882 GB, free: 10.17 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001101/0.8856, allocations: 39.97 kB / 0.8821 GB, free: 10.13 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.00116/0.8867, allocations: 0.745 MB / 0.8828 GB, free: 9.395 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9e-08/0.8867, allocations: 0 / 0.8828 GB, free: 9.395 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001366/0.8881, allocations: 418.9 kB / 0.8832 GB, free: 8.984 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.005523/0.8936, allocations: 2.322 MB / 0.8855 GB, free: 6.871 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002346/0.896, allocations: 1.006 MB / 0.8864 GB, free: 5.844 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.896, allocations: 0 / 0.8864 GB, free: 5.844 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001332/0.8973, allocations: 0.6669 MB / 0.8871 GB, free: 5.152 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001735/0.899, allocations: 345.3 kB / 0.8874 GB, free: 4.836 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.016/0.915, allocations: 8.075 MB / 0.8953 GB, free: 12.61 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000683/0.9157, allocations: 495.5 kB / 0.8958 GB, free: 12.09 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001137/0.9169, allocations: 303.4 kB / 0.8961 GB, free: 11.79 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007513/0.9176, allocations: 439.3 kB / 0.8965 GB, free: 11.36 MB / 0.67 GB Notification: Performance of SimCode: time 1.042e-06/0.9176, allocations: 0 / 0.8965 GB, free: 11.36 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09413/1.012, allocations: 28.53 MB / 0.9243 GB, free: 15.09 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.87/14.88, allocations: 9.547 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 & /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: 18.577363485936075] Failed to read output from testmodel.py, exit status != 0: 15.112259855028242 15.136297827 14.309957291 Calling exit ...