Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.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.0008568/0.0008568, allocations: 68.47 kB / 19.17 MB, free: 0.7344 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.0009745/0.0009745, allocations: 173.9 kB / 22.46 MB, free: 2.09 MB / 18.57 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.8884/0.8884, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.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.7111/0.7111, allocations: 154.6 MB / 413.7 MB, free: 0.8203 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 0.618 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.766e-05/1.945e-05, allocations: 5.578 kB / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.4509/0.4509, allocations: 171.7 MB / 0.7857 GB, free: 8.988 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.007761/0.4586, allocations: 6.606 MB / 0.7922 GB, free: 4.469 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005066/0.4591, allocations: 61.19 kB / 0.7922 GB, free: 4.434 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001186/0.4603, allocations: 0.6978 MB / 0.7929 GB, free: 4.004 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.003509/0.4638, allocations: 2.48 MB / 0.7953 GB, free: 2.66 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.002209/0.466, allocations: 1.588 MB / 0.7969 GB, free: 1.855 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.002179/0.4682, allocations: 3.014 MB / 0.7998 GB, free: 440 kB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006306/0.4689, allocations: 0.7148 MB / 0.8005 GB, free: 96 kB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002331/0.4712, allocations: 1.963 MB / 0.8024 GB, free: 15.2 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006331/0.4718, allocations: 0.7191 MB / 0.8032 GB, free: 14.97 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 9.638e-05/0.4719, allocations: 99.44 kB / 0.8032 GB, free: 14.97 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001826/0.4737, allocations: 1.676 MB / 0.8049 GB, free: 14.38 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0002343/0.474, allocations: 394.4 kB / 0.8053 GB, free: 14.18 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0002759/0.4743, allocations: 396.7 kB / 0.8056 GB, free: 14.01 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.001772/0.476, allocations: 2.453 MB / 0.808 GB, free: 12.45 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.476, allocations: 0 / 0.808 GB, free: 12.45 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.232e-06/0.476, allocations: 0 / 0.808 GB, free: 12.45 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.051e-05/0.476, allocations: 0 / 0.808 GB, free: 12.45 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.001885/0.4779, allocations: 1.585 MB / 0.8096 GB, free: 11.24 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.478, allocations: 11.62 kB / 0.8096 GB, free: 11.24 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001029/0.4781, allocations: 118.3 kB / 0.8097 GB, free: 11.14 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001381/0.4794, allocations: 0.5381 MB / 0.8102 GB, free: 10.89 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001317/0.4808, allocations: 0.9677 MB / 0.8112 GB, free: 10.19 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.196e-05/0.4808, allocations: 53.03 kB / 0.8112 GB, free: 10.16 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.174e-05/0.4809, allocations: 73.12 kB / 0.8113 GB, free: 10.14 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001411/0.4823, allocations: 1.236 MB / 0.8125 GB, free: 9.316 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.657e-05/0.4823, allocations: 6.766 kB / 0.8125 GB, free: 9.312 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.562e-05/0.4824, allocations: 25.5 kB / 0.8125 GB, free: 9.293 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.042e-05/0.4824, allocations: 39.31 kB / 0.8126 GB, free: 9.285 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001637/0.484, allocations: 1.195 MB / 0.8137 GB, free: 8.688 MB / 0.6667 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.00304/0.4871, allocations: 2.878 MB / 0.8165 GB, free: 6.582 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009523/0.488, allocations: 0.6766 MB / 0.8172 GB, free: 6.207 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004423/0.4885, allocations: 431.2 kB / 0.8176 GB, free: 5.977 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002349/0.4887, allocations: 131.8 kB / 0.8177 GB, free: 5.93 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006114/0.4893, allocations: 0.6464 MB / 0.8184 GB, free: 5.434 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=57): time 1.824e-06/0.4893, allocations: 0 / 0.8184 GB, free: 5.434 MB / 0.6667 GB Notification: Performance of matching and sorting (n=57): time 0.001633/0.491, allocations: 1.284 MB / 0.8196 GB, free: 4.75 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.258e-05/0.491, allocations: 147.3 kB / 0.8198 GB, free: 4.586 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001033/0.492, allocations: 1.18 MB / 0.8209 GB, free: 3.941 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 4.514e-05/0.4921, allocations: 38.67 kB / 0.821 GB, free: 3.902 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002456/0.4923, allocations: 443.1 kB / 0.8214 GB, free: 3.52 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001026/0.4924, allocations: 205.1 kB / 0.8216 GB, free: 3.344 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001607/0.4926, allocations: 135.9 kB / 0.8217 GB, free: 3.266 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 7.784e-05/0.4927, allocations: 342.1 kB / 0.822 GB, free: 2.934 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006534/0.4933, allocations: 466.6 kB / 0.8225 GB, free: 2.637 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008435/0.4942, allocations: 0.9823 MB / 0.8234 GB, free: 1.516 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001203/0.4954, allocations: 0.9299 MB / 0.8243 GB, free: 0.5312 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.4954, allocations: 4 kB / 0.8244 GB, free: 0.5273 MB / 0.6667 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001633/0.497, allocations: 1.246 MB / 0.8256 GB, free: 15.26 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.209e-05/0.497, allocations: 37.69 kB / 0.8256 GB, free: 15.22 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.497, allocations: 4.281 kB / 0.8256 GB, free: 15.21 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.4971, allocations: 8 kB / 0.8256 GB, free: 15.21 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004341/0.4975, allocations: 187.7 kB / 0.8258 GB, free: 15.02 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.4975, allocations: 7.984 kB / 0.8258 GB, free: 15.02 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006334/0.4981, allocations: 239.2 kB / 0.826 GB, free: 14.78 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.738e-05/0.4982, allocations: 39.97 kB / 0.8261 GB, free: 14.74 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 7 (QSen_flow.nextEventScaled,QSen_flow.nextEvent,$PRE.QSen_flow.nextEvent,QSen_flow.last,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002842/0.4985, allocations: 332.2 kB / 0.8264 GB, free: 14.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/0.4986, allocations: 123.2 kB / 0.8265 GB, free: 14.28 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001212/0.4998, allocations: 1.033 MB / 0.8275 GB, free: 13.24 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.306e-06/0.4998, allocations: 8 kB / 0.8275 GB, free: 13.23 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.4998, allocations: 7.938 kB / 0.8275 GB, free: 13.22 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.4998, allocations: 4.859 kB / 0.8275 GB, free: 13.22 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002867/0.5027, allocations: 2.999 MB / 0.8305 GB, free: 10.06 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.839e-06/0.5027, allocations: 15.92 kB / 0.8305 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002737/0.503, allocations: 123.7 kB / 0.8306 GB, free: 9.926 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.813e-06/0.503, allocations: 8 kB / 0.8306 GB, free: 9.918 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.422e-05/0.503, allocations: 27.98 kB / 0.8306 GB, free: 9.891 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.014e-06/0.503, allocations: 15.16 kB / 0.8306 GB, free: 9.879 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.872e-06/0.503, allocations: 11.94 kB / 0.8307 GB, free: 9.867 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001229/0.5043, allocations: 1.366 MB / 0.832 GB, free: 8.383 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003094/0.5046, allocations: 266.8 kB / 0.8322 GB, free: 8.121 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.757e-05/0.5047, allocations: 24 kB / 0.8323 GB, free: 8.098 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005158/0.5052, allocations: 103.9 kB / 0.8324 GB, free: 7.996 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.954e-05/0.5052, allocations: 55.75 kB / 0.8324 GB, free: 7.941 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.577e-05/0.5053, allocations: 43.91 kB / 0.8325 GB, free: 7.898 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0008257/0.5061, allocations: 0.8521 MB / 0.8333 GB, free: 7.039 MB / 0.6823 GB Notification: Performance of sort global known variables: time 8e-08/0.5061, allocations: 0 / 0.8333 GB, free: 7.039 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0006707/0.5068, allocations: 291.7 kB / 0.8336 GB, free: 6.754 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001853/0.5086, allocations: 2.161 MB / 0.8357 GB, free: 4.477 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001332/0.51, allocations: 1.037 MB / 0.8367 GB, free: 3.41 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.349e-06/0.51, allocations: 4 kB / 0.8367 GB, free: 3.406 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005171/0.5105, allocations: 0.5063 MB / 0.8372 GB, free: 2.883 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001577/0.5121, allocations: 0.563 MB / 0.8377 GB, free: 2.363 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01047/0.5225, allocations: 9.612 MB / 0.8471 GB, free: 8.32 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003327/0.5229, allocations: 478.6 kB / 0.8476 GB, free: 7.816 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006366/0.5235, allocations: 271.8 kB / 0.8478 GB, free: 7.551 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003603/0.5239, allocations: 364.4 kB / 0.8482 GB, free: 7.195 MB / 0.698 GB Notification: Performance of SimCode: time 7.01e-07/0.5239, allocations: 0 / 0.8482 GB, free: 7.195 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04077/0.5646, allocations: 34.51 MB / 0.8819 GB, free: 5.309 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.807/8.371, allocations: 5.594 kB / 0.8819 GB, free: 5.309 MB / 0.7292 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.fmu > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.216530805453658] Failed to read output from testmodel.py, exit status != 0: 8.46717843040824 8.478133181 8.000162019 Calling exit ...