Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0007723/0.0007723, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.0009346/0.0009346, allocations: 208.1 kB / 22.25 MB, free: 3.574 MB / 13.93 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.9534/0.9534, allocations: 230.6 MB / 256 MB, free: 9.617 MB / 202.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.7857/0.7857, allocations: 203.8 MB / 0.5042 GB, free: 10.45 MB / 410.7 MB " [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.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData_Specification",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="IDEAS_dev_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.0008793/0.0008793, allocations: 70.33 kB / 0.7182 GB, free: 4.086 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4966/0.4975, allocations: 102 MB / 0.8178 GB, free: 1.066 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1271/0.6246, allocations: 135.9 MB / 0.9505 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.01022/0.6348, allocations: 9.961 MB / 0.9602 GB, free: 3.316 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008343/0.6356, allocations: 31.75 kB / 0.9603 GB, free: 3.285 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0008821/0.6365, allocations: 285.7 kB / 0.9605 GB, free: 3.004 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.00244/0.639, allocations: 1.013 MB / 0.9615 GB, free: 1.992 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.002127/0.6411, allocations: 1.11 MB / 0.9626 GB, free: 0.8945 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.001795/0.6429, allocations: 1.737 MB / 0.9643 GB, free: 15.15 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001117/0.644, allocations: 0.932 MB / 0.9652 GB, free: 14.19 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00159/0.6456, allocations: 0.7628 MB / 0.966 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006717/0.6463, allocations: 0.5755 MB / 0.9665 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001822/0.6464, allocations: 136 kB / 0.9666 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001694/0.6481, allocations: 1.022 MB / 0.9676 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0002675/0.6484, allocations: 390.8 kB / 0.968 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0004677/0.6489, allocations: 0.552 MB / 0.9686 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.002809/0.6517, allocations: 2.3 MB / 0.9708 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.6517, allocations: 0 / 0.9708 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.004e-06/0.6517, allocations: 0 / 0.9708 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.187e-05/0.6517, allocations: 4 kB / 0.9708 GB, free: 8.453 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.002592/0.6543, allocations: 1.73 MB / 0.9725 GB, free: 6.684 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.6544, allocations: 12.03 kB / 0.9725 GB, free: 6.672 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001282/0.6545, allocations: 152 kB / 0.9727 GB, free: 6.516 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001241/0.6557, allocations: 322.8 kB / 0.973 GB, free: 6.199 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001157/0.6569, allocations: 1.022 MB / 0.974 GB, free: 5.148 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.795e-05/0.6569, allocations: 73.94 kB / 0.974 GB, free: 5.074 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.021e-05/0.657, allocations: 96 kB / 0.9741 GB, free: 4.98 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001377/0.6584, allocations: 1.486 MB / 0.9756 GB, free: 3.363 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.6584, allocations: 0 / 0.9756 GB, free: 3.363 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.328e-05/0.6585, allocations: 47.98 kB / 0.9756 GB, free: 3.316 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.143e-05/0.6585, allocations: 24 kB / 0.9756 GB, free: 3.293 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001418/0.6599, allocations: 1.268 MB / 0.9769 GB, free: 2.02 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003386/0.6633, allocations: 2.775 MB / 0.9796 GB, free: 15.18 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001238/0.6645, allocations: 0.9693 MB / 0.9805 GB, free: 14.21 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004425/0.665, allocations: 380.8 kB / 0.9809 GB, free: 13.84 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001512/0.6651, allocations: 60.95 kB / 0.981 GB, free: 13.77 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007834/0.6659, allocations: 0.8568 MB / 0.9818 GB, free: 12.84 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=95): time 3.316e-06/0.6659, allocations: 3.938 kB / 0.9818 GB, free: 12.84 MB / 0.7605 GB Notification: Performance of matching and sorting (n=95): time 0.002608/0.6685, allocations: 1.485 MB / 0.9832 GB, free: 11.34 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.701e-05/0.6686, allocations: 188.9 kB / 0.9834 GB, free: 11.12 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009489/0.6696, allocations: 1.048 MB / 0.9845 GB, free: 10.06 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 6.66e-05/0.6696, allocations: 45.7 kB / 0.9845 GB, free: 10.01 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003038/0.6699, allocations: 489.2 kB / 0.985 GB, free: 9.527 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001954/0.6701, allocations: 329.2 kB / 0.9853 GB, free: 9.203 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001817/0.6703, allocations: 170.6 kB / 0.9854 GB, free: 9.031 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 9.433e-05/0.6704, allocations: 337.9 kB / 0.9858 GB, free: 8.695 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000441/0.6708, allocations: 337.8 kB / 0.9861 GB, free: 8.363 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005658/0.6714, allocations: 0.6666 MB / 0.9867 GB, free: 7.609 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009171/0.6723, allocations: 0.7609 MB / 0.9875 GB, free: 6.84 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.6723, allocations: 4 kB / 0.9875 GB, free: 6.836 MB / 0.7605 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.001552/0.6739, allocations: 1.041 MB / 0.9885 GB, free: 5.781 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.6739, allocations: 8 kB / 0.9885 GB, free: 5.773 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.298e-06/0.6739, allocations: 0 / 0.9885 GB, free: 5.773 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004114/0.6743, allocations: 113.7 kB / 0.9886 GB, free: 5.656 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004917/0.6748, allocations: 195.7 kB / 0.9888 GB, free: 5.465 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002241/0.6771, allocations: 2.854 MB / 0.9916 GB, free: 2.375 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005533/0.6776, allocations: 111.4 kB / 0.9917 GB, free: 2.266 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.771e-05/0.6777, allocations: 39.97 kB / 0.9917 GB, free: 2.227 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (100): * Single equations (assignments): 98 * 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.000481/0.6781, allocations: 309.5 kB / 0.992 GB, free: 1.914 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001581/0.6783, allocations: 107.3 kB / 0.9921 GB, free: 1.809 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001747/0.68, allocations: 1.33 MB / 0.9934 GB, free: 476 kB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-06/0.6801, allocations: 12 kB / 0.9934 GB, free: 464 kB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.6801, allocations: 0 / 0.9934 GB, free: 464 kB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/0.6801, allocations: 3.984 kB / 0.9934 GB, free: 460 kB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002857/0.6829, allocations: 2.274 MB / 0.9957 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.6829, allocations: 0 / 0.9957 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004381/0.6834, allocations: 195.8 kB / 0.9959 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002921/0.6837, allocations: 97.62 kB / 0.9959 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.98e-05/0.6837, allocations: 39.97 kB / 0.996 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002069/0.6858, allocations: 2.873 MB / 0.9988 GB, free: 10.67 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.6858, allocations: 0 / 0.9988 GB, free: 10.67 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001752/0.6875, allocations: 1.241 MB / 1 GB, free: 9.414 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004604/0.688, allocations: 250.9 kB / 1 GB, free: 9.168 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001026/0.6881, allocations: 31.98 kB / 1 GB, free: 9.137 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004425/0.6885, allocations: 79.78 kB / 1 GB, free: 9.062 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001369/0.6887, allocations: 84.83 kB / 1 GB, free: 8.977 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-05/0.6887, allocations: 44.03 kB / 1 GB, free: 8.934 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0006762/0.6894, allocations: 0.7684 MB / 1.001 GB, free: 8.168 MB / 0.7761 GB Notification: Performance of sort global known variables: time 2.51e-07/0.6894, allocations: 0 / 1.001 GB, free: 8.168 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.001037/0.6905, allocations: 462.9 kB / 1.002 GB, free: 7.715 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.003134/0.6936, allocations: 2.425 MB / 1.004 GB, free: 5.504 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001417/0.695, allocations: 1.084 MB / 1.005 GB, free: 4.395 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.695, allocations: 0 / 1.005 GB, free: 4.395 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0007218/0.6957, allocations: 0.7019 MB / 1.006 GB, free: 3.668 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009572/0.6967, allocations: 371.4 kB / 1.006 GB, free: 3.328 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009319/0.706, allocations: 8.446 MB / 1.014 GB, free: 10.73 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000391/0.7064, allocations: 0.5127 MB / 1.015 GB, free: 10.18 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0008534/0.7073, allocations: 310.6 kB / 1.015 GB, free: 9.879 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005107/0.7078, allocations: 479.2 kB / 1.016 GB, free: 9.41 MB / 0.7917 GB Notification: Performance of SimCode: time 1.683e-06/0.7078, allocations: 0 / 1.016 GB, free: 9.41 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04978/0.7575, allocations: 30.58 MB / 1.045 GB, free: 11.11 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.674/9.431, allocations: 4.062 kB / 1.046 GB, free: 11.11 MB / 0.823 GB " [Timeout remaining time 650] (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData_Specification.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.545479038730264] Failed to read output from testmodel.py, exit status != 0: 9.585246986243874 9.597132809 8.943375504 Calling exit ...