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.001832/0.001832, allocations: 110.2 kB / 16.46 MB, free: 6.508 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.002175/0.002175, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.54/1.54, allocations: 230.6 MB / 252.8 MB, free: 9.121 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.8452/0.8452, allocations: 134 MB / 442.8 MB, free: 11.33 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.001916/0.001916, allocations: 66.8 kB / 0.6134 GB, free: 8.766 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1881/0.19, allocations: 85.85 MB / 0.6973 GB, free: 2.996 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.6067/0.7966, allocations: 157.1 MB / 0.8507 GB, free: 11.35 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01579/0.8124, allocations: 10.52 MB / 0.861 GB, free: 0.8047 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001173/0.8136, allocations: 31.75 kB / 0.861 GB, free: 0.7734 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0009911/0.8146, allocations: 269.8 kB / 0.8613 GB, free: 0.5078 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002964/0.8176, allocations: 0.911 MB / 0.8622 GB, free: 15.59 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002948/0.8205, allocations: 1.062 MB / 0.8632 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001946/0.8224, allocations: 1.535 MB / 0.8647 GB, free: 13 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001344/0.8238, allocations: 0.9617 MB / 0.8656 GB, free: 12.02 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001847/0.8256, allocations: 0.7135 MB / 0.8663 GB, free: 11.32 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000689/0.8263, allocations: 0.5678 MB / 0.8669 GB, free: 10.75 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001705/0.8265, allocations: 124 kB / 0.867 GB, free: 10.63 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002241/0.8287, allocations: 1.069 MB / 0.8681 GB, free: 9.559 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003419/0.8291, allocations: 366.8 kB / 0.8684 GB, free: 9.199 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0005967/0.8297, allocations: 0.6218 MB / 0.869 GB, free: 8.574 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.00322/0.8329, allocations: 2.135 MB / 0.8711 GB, free: 6.434 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.83e-06/0.8329, allocations: 0 / 0.8711 GB, free: 6.434 MB / 0.6387 GB Notification: Performance of FrontEnd: time 5.38e-06/0.8329, allocations: 4 kB / 0.8711 GB, free: 6.43 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.646e-05/0.8329, allocations: 0 / 0.8711 GB, free: 6.43 MB / 0.6387 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.003266/0.8362, allocations: 1.693 MB / 0.8728 GB, free: 4.68 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/0.8362, allocations: 9.109 kB / 0.8728 GB, free: 4.672 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001983/0.8364, allocations: 143.7 kB / 0.8729 GB, free: 4.523 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002223/0.8387, allocations: 318.9 kB / 0.8732 GB, free: 4.211 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001642/0.8403, allocations: 1.063 MB / 0.8742 GB, free: 3.105 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.06e-05/0.8404, allocations: 74 kB / 0.8743 GB, free: 3.035 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001354/0.8405, allocations: 88 kB / 0.8744 GB, free: 2.949 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001912/0.8424, allocations: 1.043 MB / 0.8754 GB, free: 1.863 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.979e-05/0.8424, allocations: 4 kB / 0.8754 GB, free: 1.859 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001039/0.8425, allocations: 44 kB / 0.8755 GB, free: 1.816 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.168e-05/0.8426, allocations: 20 kB / 0.8755 GB, free: 1.797 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002225/0.8448, allocations: 1.268 MB / 0.8767 GB, free: 0.5312 MB / 0.6387 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.005216/0.85, allocations: 3.119 MB / 0.8798 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001887/0.8519, allocations: 0.9691 MB / 0.8807 GB, free: 12.31 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007306/0.8526, allocations: 362.8 kB / 0.8811 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002633/0.8529, allocations: 138.1 kB / 0.8812 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001091/0.854, allocations: 0.5436 MB / 0.8817 GB, free: 11.24 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=86): time 2.384e-06/0.854, allocations: 0 / 0.8817 GB, free: 11.24 MB / 0.6544 GB Notification: Performance of matching and sorting (n=86): time 0.004248/0.8582, allocations: 1.511 MB / 0.8832 GB, free: 9.68 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001248/0.8584, allocations: 188.9 kB / 0.8834 GB, free: 9.453 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001328/0.8597, allocations: 1.013 MB / 0.8844 GB, free: 8.43 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.969e-05/0.8598, allocations: 45.7 kB / 0.8844 GB, free: 8.379 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005578/0.8603, allocations: 457.1 kB / 0.8848 GB, free: 7.926 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002808/0.8606, allocations: 305.4 kB / 0.8851 GB, free: 7.625 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002675/0.8609, allocations: 150.6 kB / 0.8853 GB, free: 7.473 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001573/0.861, allocations: 345.9 kB / 0.8856 GB, free: 7.129 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006813/0.8617, allocations: 297.8 kB / 0.8859 GB, free: 6.836 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008301/0.8625, allocations: 437.1 kB / 0.8863 GB, free: 6.375 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001469/0.864, allocations: 0.7062 MB / 0.887 GB, free: 5.656 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/0.864, allocations: 0 / 0.887 GB, free: 5.656 MB / 0.6544 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002541/0.8666, allocations: 0.9708 MB / 0.8879 GB, free: 4.672 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/0.8666, allocations: 10.19 kB / 0.888 GB, free: 4.664 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.8666, allocations: 0 / 0.888 GB, free: 4.664 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007629/0.8674, allocations: 113.7 kB / 0.8881 GB, free: 4.547 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008505/0.8682, allocations: 183.7 kB / 0.8882 GB, free: 4.367 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003544/0.8717, allocations: 3.061 MB / 0.8912 GB, free: 1.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008862/0.8726, allocations: 96.56 kB / 0.8913 GB, free: 0.9258 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.141e-05/0.8727, allocations: 35.97 kB / 0.8914 GB, free: 0.8906 MB / 0.6544 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.0006074/0.8733, allocations: 289.7 kB / 0.8916 GB, free: 0.5977 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002386/0.8736, allocations: 103.3 kB / 0.8917 GB, free: 0.4961 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002948/0.8765, allocations: 1.221 MB / 0.8929 GB, free: 15.27 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.324e-05/0.8765, allocations: 15.94 kB / 0.8929 GB, free: 15.25 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.8765, allocations: 0 / 0.8929 GB, free: 15.25 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/0.8765, allocations: 3.984 kB / 0.8929 GB, free: 15.25 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004174/0.8807, allocations: 2.287 MB / 0.8952 GB, free: 12.89 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.8807, allocations: 0 / 0.8952 GB, free: 12.89 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008544/0.8816, allocations: 183.8 kB / 0.8953 GB, free: 12.71 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005813/0.8821, allocations: 105.6 kB / 0.8954 GB, free: 12.61 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.105e-05/0.8822, allocations: 23.98 kB / 0.8955 GB, free: 12.58 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003289/0.8855, allocations: 3.104 MB / 0.8985 GB, free: 9.188 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.8855, allocations: 3.984 kB / 0.8985 GB, free: 9.184 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002763/0.8883, allocations: 1.136 MB / 0.8996 GB, free: 8.023 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000493/0.8887, allocations: 312.1 kB / 0.8999 GB, free: 7.699 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001422/0.8889, allocations: 24 kB / 0.8999 GB, free: 7.676 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007699/0.8897, allocations: 70.05 kB / 0.9 GB, free: 7.609 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001747/0.8898, allocations: 68.91 kB / 0.9001 GB, free: 7.543 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.156e-05/0.8899, allocations: 39.97 kB / 0.9001 GB, free: 7.504 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001011/0.8909, allocations: 0.7411 MB / 0.9008 GB, free: 6.77 MB / 0.67 GB Notification: Performance of sort global known variables: time 8e-08/0.8909, allocations: 7.938 kB / 0.9008 GB, free: 6.762 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001247/0.8922, allocations: 418.9 kB / 0.9012 GB, free: 6.352 MB / 0.67 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.005065/0.8973, allocations: 2.281 MB / 0.9035 GB, free: 4.254 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002281/0.8995, allocations: 1.002 MB / 0.9044 GB, free: 3.227 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.8995, allocations: 7.938 kB / 0.9045 GB, free: 3.219 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.00127/0.9008, allocations: 0.6747 MB / 0.9051 GB, free: 2.52 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001514/0.9023, allocations: 337 kB / 0.9054 GB, free: 2.207 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01532/0.9176, allocations: 8.074 MB / 0.9133 GB, free: 9.988 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008042/0.9184, allocations: 1.088 MB / 0.9144 GB, free: 8.871 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001022/0.9195, allocations: 307.3 kB / 0.9147 GB, free: 8.566 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006615/0.9201, allocations: 443.2 kB / 0.9151 GB, free: 8.133 MB / 0.6856 GB Notification: Performance of SimCode: time 8.52e-07/0.9201, allocations: 0 / 0.9151 GB, free: 8.133 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09599/1.016, allocations: 26.77 MB / 0.9412 GB, free: 13.62 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.65/14.66, allocations: 4 kB / 0.9412 GB, free: 13.62 MB / 0.7169 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: 18.653363605990307] Failed to read output from testmodel.py, exit status != 0: 14.878655637003249 14.908770379 14.071169146 Calling exit ...