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.0007755/0.0007755, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.0008529/0.0008529, allocations: 221.7 kB / 22.26 MB, free: 3.691 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.9466/0.9466, allocations: 230.6 MB / 256 MB, free: 9.805 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.8151/0.8151, allocations: 203.8 MB / 0.5042 GB, free: 10.74 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.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: 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.001027/0.001027, allocations: 64.53 kB / 0.7183 GB, free: 4.297 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5642/0.5652, allocations: 102 MB / 0.8179 GB, free: 1.246 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.1683/0.7335, allocations: 198.2 MB / 1.011 GB, free: 15.14 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.007797/0.7413, allocations: 7.009 MB / 1.018 GB, free: 8.125 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007172/0.7421, allocations: 63.38 kB / 1.018 GB, free: 8.062 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.001269/0.7433, allocations: 0.7103 MB / 1.019 GB, free: 7.348 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.00389/0.7472, allocations: 2.474 MB / 1.021 GB, free: 4.863 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.002478/0.7497, allocations: 1.569 MB / 1.023 GB, free: 3.32 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.002978/0.7527, allocations: 3.056 MB / 1.026 GB, free: 256 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008418/0.7535, allocations: 0.7167 MB / 1.027 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002598/0.7561, allocations: 1.638 MB / 1.028 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007598/0.7569, allocations: 0.8298 MB / 1.029 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.0001061/0.757, allocations: 100 kB / 1.029 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002659/0.7596, allocations: 2.167 MB / 1.031 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0002674/0.7599, allocations: 386.6 kB / 1.032 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0004152/0.7603, allocations: 0.5753 MB / 1.032 GB, free: 9.828 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.002231/0.7625, allocations: 2.406 MB / 1.035 GB, free: 7.414 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.7626, allocations: 7.938 kB / 1.035 GB, free: 7.406 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.603e-06/0.7626, allocations: 4 kB / 1.035 GB, free: 7.402 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.994e-05/0.7626, allocations: 0 / 1.035 GB, free: 7.402 MB / 0.8073 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.002113/0.7647, allocations: 1.602 MB / 1.036 GB, free: 5.758 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.7647, allocations: 8.031 kB / 1.036 GB, free: 5.75 MB / 0.8073 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001323/0.7649, allocations: 110.5 kB / 1.036 GB, free: 5.633 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00133/0.7662, allocations: 0.5494 MB / 1.037 GB, free: 5.082 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001309/0.7675, allocations: 0.9586 MB / 1.038 GB, free: 4.094 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.142e-05/0.7675, allocations: 53.31 kB / 1.038 GB, free: 4.043 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.699e-05/0.7676, allocations: 68 kB / 1.038 GB, free: 3.977 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001431/0.769, allocations: 1.112 MB / 1.039 GB, free: 2.84 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.7691, allocations: 0 / 1.039 GB, free: 2.84 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.272e-05/0.7691, allocations: 28 kB / 1.039 GB, free: 2.812 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.914e-05/0.7691, allocations: 33.3 kB / 1.039 GB, free: 2.781 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001592/0.7707, allocations: 1.164 MB / 1.04 GB, free: 1.613 MB / 0.8073 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.003276/0.774, allocations: 3.125 MB / 1.043 GB, free: 14.41 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000946/0.775, allocations: 0.645 MB / 1.044 GB, free: 13.76 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004405/0.7754, allocations: 394.1 kB / 1.044 GB, free: 13.37 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002609/0.7757, allocations: 136.3 kB / 1.044 GB, free: 13.24 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000583/0.7762, allocations: 0.51 MB / 1.045 GB, free: 12.7 MB / 0.823 GB Notification: Performance of pre-optimization done (n=57): time 1.783e-06/0.7762, allocations: 3.938 kB / 1.045 GB, free: 12.7 MB / 0.823 GB Notification: Performance of matching and sorting (n=57): time 0.001649/0.7779, allocations: 1.229 MB / 1.046 GB, free: 11.46 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.348e-05/0.778, allocations: 140.8 kB / 1.046 GB, free: 11.29 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001082/0.779, allocations: 1.188 MB / 1.047 GB, free: 10.09 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 5.466e-05/0.7791, allocations: 37.7 kB / 1.047 GB, free: 10.05 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002518/0.7793, allocations: 433.9 kB / 1.048 GB, free: 9.617 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001044/0.7794, allocations: 198.3 kB / 1.048 GB, free: 9.422 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001704/0.7796, allocations: 158.1 kB / 1.048 GB, free: 9.262 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.855e-05/0.7797, allocations: 326 kB / 1.048 GB, free: 8.938 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007739/0.7805, allocations: 445 kB / 1.049 GB, free: 8.504 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007384/0.7812, allocations: 0.5941 MB / 1.049 GB, free: 7.859 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001069/0.7823, allocations: 0.9292 MB / 1.05 GB, free: 6.871 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.307e-06/0.7823, allocations: 0 / 1.05 GB, free: 6.871 MB / 0.823 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001555/0.7838, allocations: 1.201 MB / 1.051 GB, free: 5.656 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.811e-05/0.7839, allocations: 44.34 kB / 1.052 GB, free: 5.609 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.7839, allocations: 4 kB / 1.052 GB, free: 5.605 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.7839, allocations: 11.94 kB / 1.052 GB, free: 5.594 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004262/0.7843, allocations: 187.8 kB / 1.052 GB, free: 5.41 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.7843, allocations: 8 kB / 1.052 GB, free: 5.402 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006435/0.785, allocations: 250.1 kB / 1.052 GB, free: 5.16 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-05/0.785, allocations: 35.98 kB / 1.052 GB, free: 5.125 MB / 0.823 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.0003/0.7853, allocations: 333 kB / 1.052 GB, free: 4.785 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001174/0.7855, allocations: 127.2 kB / 1.052 GB, free: 4.66 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001213/0.7867, allocations: 0.9947 MB / 1.053 GB, free: 3.664 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-05/0.7867, allocations: 11.94 kB / 1.053 GB, free: 3.652 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.7867, allocations: 0 / 1.053 GB, free: 3.652 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.7867, allocations: 7.984 kB / 1.053 GB, free: 3.645 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003104/0.7898, allocations: 3.135 MB / 1.056 GB, free: 372 kB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.244e-06/0.7898, allocations: 8 kB / 1.056 GB, free: 364 kB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002679/0.7901, allocations: 119.8 kB / 1.057 GB, free: 244 kB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.035e-06/0.7901, allocations: 8 kB / 1.057 GB, free: 236 kB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.456e-05/0.7901, allocations: 27.98 kB / 1.057 GB, free: 208 kB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.674e-06/0.7901, allocations: 19.97 kB / 1.057 GB, free: 188 kB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.176e-05/0.7901, allocations: 11.98 kB / 1.057 GB, free: 176 kB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001241/0.7914, allocations: 1.359 MB / 1.058 GB, free: 14.69 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003206/0.7917, allocations: 259 kB / 1.058 GB, free: 14.44 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.51e-05/0.7918, allocations: 20 kB / 1.058 GB, free: 14.42 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004989/0.7923, allocations: 95.91 kB / 1.058 GB, free: 14.32 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.374e-05/0.7924, allocations: 71.61 kB / 1.058 GB, free: 14.25 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.595e-05/0.7924, allocations: 43.97 kB / 1.058 GB, free: 14.21 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0008427/0.7933, allocations: 0.8482 MB / 1.059 GB, free: 13.36 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.71e-07/0.7933, allocations: 0 / 1.059 GB, free: 13.36 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0006778/0.7939, allocations: 299.6 kB / 1.06 GB, free: 13.06 MB / 0.8386 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.0018/0.7957, allocations: 2.136 MB / 1.062 GB, free: 10.81 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.00141/0.7971, allocations: 0.9663 MB / 1.063 GB, free: 9.828 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.7972, allocations: 4 kB / 1.063 GB, free: 9.824 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0004842/0.7976, allocations: 488.8 kB / 1.063 GB, free: 9.336 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00139/0.799, allocations: 0.5399 MB / 1.064 GB, free: 8.824 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009387/0.8084, allocations: 9.419 MB / 1.073 GB, free: 15 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004246/0.8088, allocations: 1.073 MB / 1.074 GB, free: 13.9 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0006204/0.8095, allocations: 271.2 kB / 1.074 GB, free: 13.64 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003464/0.8098, allocations: 363.3 kB / 1.074 GB, free: 13.28 MB / 0.8542 GB Notification: Performance of SimCode: time 8.21e-07/0.8098, allocations: 0 / 1.074 GB, free: 13.28 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04097/0.8508, allocations: 32.41 MB / 1.106 GB, free: 13.16 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.347/9.198, allocations: 13.36 kB / 1.106 GB, free: 13.15 MB / 0.8855 GB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=50 --tolerance=1e-06 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: 12.234836933901533] Failed to read output from testmodel.py, exit status != 0: 9.290705329971388 9.303943481 8.538929967 Calling exit ...