Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.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.0008107/0.0008107, 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.0007907/0.0007907, allocations: 207.6 kB / 22.25 MB, free: 3.59 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.9328/0.9328, allocations: 230.6 MB / 256 MB, free: 9.594 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.7755/0.7755, allocations: 203.8 MB / 0.5042 GB, free: 10.41 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.BaseClasses.Validation.MassFlowRateMultiplier,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_BaseClasses_Validation_MassFlowRateMultiplier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_BaseClasses_Validation_MassFlowRateMultiplier",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.0009189/0.0009189, allocations: 75.52 kB / 0.7182 GB, free: 4.031 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5316/0.5325, allocations: 102 MB / 0.8178 GB, free: 1.031 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.01451/0.547, allocations: 13.84 MB / 0.8313 GB, free: 7.664 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00434/0.5513, allocations: 3.514 MB / 0.8347 GB, free: 5.273 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002921/0.5516, allocations: 20.59 kB / 0.8348 GB, free: 5.262 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004897/0.5521, allocations: 177.9 kB / 0.8349 GB, free: 5.145 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000898/0.553, allocations: 414.8 kB / 0.8353 GB, free: 4.918 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008066/0.5538, allocations: 362.5 kB / 0.8357 GB, free: 4.746 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0009019/0.5547, allocations: 0.7874 MB / 0.8364 GB, free: 4.391 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004116/0.5551, allocations: 221.4 kB / 0.8366 GB, free: 4.297 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008189/0.5559, allocations: 0.4949 MB / 0.8371 GB, free: 4.059 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002672/0.5562, allocations: 210.3 kB / 0.8373 GB, free: 3.977 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.336e-05/0.5562, allocations: 24.53 kB / 0.8374 GB, free: 3.973 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003885/0.5566, allocations: 193 kB / 0.8375 GB, free: 3.91 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.216e-05/0.5567, allocations: 69.14 kB / 0.8376 GB, free: 3.875 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001143/0.5568, allocations: 116.1 kB / 0.8377 GB, free: 3.816 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005562/0.5574, allocations: 422.6 kB / 0.8381 GB, free: 3.66 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.5574, allocations: 0 / 0.8381 GB, free: 3.66 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.933e-06/0.5574, allocations: 1.406 kB / 0.8381 GB, free: 3.66 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.416e-06/0.5574, allocations: 7.938 kB / 0.8381 GB, free: 3.652 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0008964/0.5583, allocations: 0.5445 MB / 0.8387 GB, free: 3.223 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.872e-05/0.5584, allocations: 10.66 kB / 0.8387 GB, free: 3.223 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.529e-05/0.5584, allocations: 54 kB / 0.8387 GB, free: 3.172 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.491e-05/0.5585, allocations: 35.16 kB / 0.8388 GB, free: 3.156 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004904/0.559, allocations: 264.7 kB / 0.839 GB, free: 2.961 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.187e-05/0.559, allocations: 14.28 kB / 0.839 GB, free: 2.957 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.498e-05/0.559, allocations: 23.56 kB / 0.839 GB, free: 2.949 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005136/0.5596, allocations: 318.6 kB / 0.8393 GB, free: 2.758 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.5596, allocations: 0 / 0.8393 GB, free: 2.758 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.813e-05/0.5596, allocations: 6.438 kB / 0.8393 GB, free: 2.754 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.13e-05/0.5596, allocations: 9.391 kB / 0.8394 GB, free: 2.75 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003596/0.56, allocations: 179.4 kB / 0.8395 GB, free: 2.707 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009941/0.561, allocations: 0.701 MB / 0.8402 GB, free: 2.215 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002395/0.5612, allocations: 132.9 kB / 0.8403 GB, free: 2.141 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001475/0.5613, allocations: 89.41 kB / 0.8404 GB, free: 2.105 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001706/0.5615, allocations: 50.88 kB / 0.8405 GB, free: 2.09 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/0.5615, allocations: 41.31 kB / 0.8405 GB, free: 2.043 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=12): time 1.152e-06/0.5615, allocations: 0 / 0.8405 GB, free: 2.043 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12): time 0.0005663/0.5621, allocations: 262.8 kB / 0.8408 GB, free: 1.949 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.718e-05/0.5622, allocations: 78.98 kB / 0.8408 GB, free: 1.855 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002727/0.5624, allocations: 269.8 kB / 0.8411 GB, free: 1.699 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.42e-05/0.5625, allocations: 31.58 kB / 0.8411 GB, free: 1.664 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001403/0.5626, allocations: 169.4 kB / 0.8413 GB, free: 1.52 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.423e-05/0.5626, allocations: 41.38 kB / 0.8413 GB, free: 1.488 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.441e-05/0.5627, allocations: 34.2 kB / 0.8414 GB, free: 1.465 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.5628, allocations: 337.3 kB / 0.8417 GB, free: 1.141 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001477/0.563, allocations: 60.73 kB / 0.8417 GB, free: 1.129 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002536/0.5632, allocations: 277.5 kB / 0.842 GB, free: 0.8672 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002924/0.5635, allocations: 179.5 kB / 0.8422 GB, free: 0.7812 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.5635, allocations: 1.5 kB / 0.8422 GB, free: 0.7812 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003505/0.5639, allocations: 211 kB / 0.8424 GB, free: 0.6953 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/0.5639, allocations: 6.875 kB / 0.8424 GB, free: 0.6953 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.343e-06/0.5639, allocations: 1.188 kB / 0.8424 GB, free: 0.6953 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.5639, allocations: 2.281 kB / 0.8424 GB, free: 0.6953 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001857/0.5641, allocations: 57.92 kB / 0.8424 GB, free: 0.6875 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.5641, allocations: 2.281 kB / 0.8424 GB, free: 0.6875 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001118/0.5642, allocations: 34.41 kB / 0.8425 GB, free: 0.6719 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.504e-05/0.5643, allocations: 11.16 kB / 0.8425 GB, free: 0.668 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * 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.0001265/0.5644, allocations: 143 kB / 0.8426 GB, free: 0.5391 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.537e-05/0.5644, allocations: 25.81 kB / 0.8427 GB, free: 0.5273 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000275/0.5647, allocations: 196.9 kB / 0.8428 GB, free: 436 kB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.058e-05/0.5647, allocations: 2.656 kB / 0.8428 GB, free: 436 kB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.5647, allocations: 1.125 kB / 0.8428 GB, free: 436 kB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.575e-06/0.5647, allocations: 4.031 kB / 0.8428 GB, free: 432 kB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006472/0.5654, allocations: 0.5594 MB / 0.8434 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/0.5654, allocations: 1.25 kB / 0.8434 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001352/0.5655, allocations: 46.02 kB / 0.8434 GB, free: 15.94 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-06/0.5655, allocations: 2.406 kB / 0.8434 GB, free: 15.94 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/0.5655, allocations: 10.05 kB / 0.8434 GB, free: 15.93 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.129e-06/0.5655, allocations: 2.281 kB / 0.8435 GB, free: 15.93 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.5655, allocations: 5.625 kB / 0.8435 GB, free: 15.93 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004396/0.566, allocations: 452.2 kB / 0.8439 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.565e-05/0.566, allocations: 41.14 kB / 0.8439 GB, free: 15.55 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.45e-05/0.5661, allocations: 6.812 kB / 0.8439 GB, free: 15.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000114/0.5662, allocations: 17.34 kB / 0.844 GB, free: 15.54 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.61e-05/0.5663, allocations: 22.27 kB / 0.844 GB, free: 15.52 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.005e-05/0.5663, allocations: 18.64 kB / 0.844 GB, free: 15.51 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001753/0.5664, allocations: 193.9 kB / 0.8442 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.91e-07/0.5664, allocations: 0 / 0.8442 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003557/0.5668, allocations: 89.14 kB / 0.8443 GB, free: 15.35 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.001202/0.568, allocations: 1.055 MB / 0.8453 GB, free: 14.44 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003418/0.5683, allocations: 179.9 kB / 0.8455 GB, free: 14.36 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.5684, allocations: 1.375 kB / 0.8455 GB, free: 14.36 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001604/0.5685, allocations: 107.2 kB / 0.8456 GB, free: 14.31 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005442/0.5691, allocations: 115.1 kB / 0.8457 GB, free: 14.25 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002495/0.5716, allocations: 2.639 MB / 0.8483 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001311/0.5717, allocations: 162.3 kB / 0.8484 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001412/0.5718, allocations: 58.53 kB / 0.8485 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.639e-05/0.5719, allocations: 89.06 kB / 0.8485 GB, free: 11.99 MB / 0.6355 GB Notification: Performance of SimCode: time 6.91e-07/0.5719, allocations: 5.094 kB / 0.8486 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02715/0.5991, allocations: 9.078 MB / 0.8574 GB, free: 7.223 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.077/7.676, allocations: 8.719 kB / 0.8574 GB, free: 7.219 MB / 0.6355 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_BaseClasses_Validation_MassFlowRateMultiplier_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_BaseClasses_Validation_MassFlowRateMultiplier.fmu > IDEAS_dev_IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.562107652891427] Failed to read output from testmodel.py, exit status != 0: 7.758532227948308 7.77128127 7.211367247 Calling exit ...