Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.Velocity,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.Velocity,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001089/0.00109, allocations: 101.6 kB / 16.27 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 188.5 kB / 17.19 MB, free: 5.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.286/1.286, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.719/0.719, allocations: 122.9 MB / 413.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 59.91 kB / 0.4912 GB, free: 7.391 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3413/0.3426, allocations: 77.92 MB / 0.5673 GB, free: 32.63 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.Velocity): time 0.1761/0.5187, allocations: 167.4 MB / 0.7307 GB, free: 2.895 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002867/0.5216, allocations: 1.555 MB / 0.7323 GB, free: 1.336 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000441/0.5221, allocations: 19.88 kB / 0.7323 GB, free: 1.316 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005099/0.5226, allocations: 154.9 kB / 0.7324 GB, free: 1.164 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001742/0.5244, allocations: 0.7 MB / 0.7331 GB, free: 472 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001597/0.526, allocations: 0.603 MB / 0.7337 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0009106/0.527, allocations: 0.7175 MB / 0.7344 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004448/0.5274, allocations: 241 kB / 0.7346 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007578/0.5282, allocations: 342.7 kB / 0.735 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003489/0.5285, allocations: 227 kB / 0.7352 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.122e-05/0.5286, allocations: 24 kB / 0.7352 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001495/0.5301, allocations: 0.8689 MB / 0.736 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001565/0.5303, allocations: 103.7 kB / 0.7361 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002166/0.5305, allocations: 175.1 kB / 0.7363 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001208/0.5317, allocations: 0.7207 MB / 0.737 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.5317, allocations: 4 kB / 0.737 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.363e-06/0.5317, allocations: 0 / 0.737 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.028e-05/0.5318, allocations: 0 / 0.737 GB, free: 12.46 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001092/0.5329, allocations: 0.666 MB / 0.7377 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/0.5329, allocations: 15.97 kB / 0.7377 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.704e-05/0.533, allocations: 54.55 kB / 0.7377 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001258/0.5343, allocations: 155.4 kB / 0.7379 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005235/0.5348, allocations: 306.6 kB / 0.7382 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.889e-05/0.5349, allocations: 28.44 kB / 0.7382 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.991e-05/0.5349, allocations: 28 kB / 0.7382 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005461/0.5355, allocations: 277.9 kB / 0.7385 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.5355, allocations: 4 kB / 0.7385 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.383e-05/0.5355, allocations: 8 kB / 0.7385 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.271e-05/0.5355, allocations: 8 kB / 0.7385 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004536/0.536, allocations: 204.9 kB / 0.7387 GB, free: 10.61 MB / 0.5762 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.00157/0.5376, allocations: 1.235 MB / 0.7399 GB, free: 9.266 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003014/0.5379, allocations: 150.5 kB / 0.7401 GB, free: 9.109 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001795/0.5381, allocations: 96.8 kB / 0.7402 GB, free: 9.012 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006186/0.5387, allocations: 299.2 kB / 0.7404 GB, free: 8.664 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.285e-05/0.5387, allocations: 38.5 kB / 0.7405 GB, free: 8.617 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=17): time 1.313e-06/0.5388, allocations: 0 / 0.7405 GB, free: 8.617 MB / 0.5762 GB Notification: Performance of matching and sorting (n=17): time 0.0008091/0.5396, allocations: 291.6 kB / 0.7408 GB, free: 8.328 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.234e-05/0.5396, allocations: 51.41 kB / 0.7408 GB, free: 8.266 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003898/0.54, allocations: 328.5 kB / 0.7411 GB, free: 7.934 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.553e-05/0.54, allocations: 37.64 kB / 0.7412 GB, free: 7.891 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001316/0.5402, allocations: 176.2 kB / 0.7413 GB, free: 7.715 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.322e-05/0.5402, allocations: 63.09 kB / 0.7414 GB, free: 7.652 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.007e-05/0.5403, allocations: 45.7 kB / 0.7414 GB, free: 7.602 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.5405, allocations: 338.8 kB / 0.7417 GB, free: 7.262 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001753/0.5407, allocations: 63.95 kB / 0.7418 GB, free: 7.199 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002171/0.5409, allocations: 135.5 kB / 0.7419 GB, free: 7.051 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003677/0.5413, allocations: 199.8 kB / 0.7421 GB, free: 6.84 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.5413, allocations: 0 / 0.7421 GB, free: 6.84 MB / 0.5762 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004902/0.5418, allocations: 253 kB / 0.7424 GB, free: 6.586 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.17e-05/0.5418, allocations: 7.984 kB / 0.7424 GB, free: 6.578 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.5418, allocations: 4 kB / 0.7424 GB, free: 6.574 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.5418, allocations: 0 / 0.7424 GB, free: 6.574 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002091/0.5421, allocations: 47.86 kB / 0.7424 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.5421, allocations: 4.094 kB / 0.7424 GB, free: 6.523 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002119/0.5423, allocations: 35.67 kB / 0.7425 GB, free: 6.488 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.863e-05/0.5423, allocations: 12 kB / 0.7425 GB, free: 6.477 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (24): * Single equations (assignments): 24 * 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.0001476/0.5425, allocations: 158.3 kB / 0.7426 GB, free: 6.312 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.797e-05/0.5425, allocations: 27.62 kB / 0.7427 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004897/0.543, allocations: 236.7 kB / 0.7429 GB, free: 6.051 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.5431, allocations: 4 kB / 0.7429 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.5431, allocations: 0 / 0.7429 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.5431, allocations: 0 / 0.7429 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001045/0.5441, allocations: 0.7029 MB / 0.7436 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.5441, allocations: 4 kB / 0.7436 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001805/0.5443, allocations: 39.91 kB / 0.7436 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.5443, allocations: 144 / 0.7436 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.976e-05/0.5444, allocations: 11.94 kB / 0.7436 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.5444, allocations: 4 kB / 0.7436 GB, free: 5.207 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.5444, allocations: 3.984 kB / 0.7436 GB, free: 5.203 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006509/0.545, allocations: 455 kB / 0.7441 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001149/0.5452, allocations: 120.7 kB / 0.7442 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.023e-05/0.5452, allocations: 11.94 kB / 0.7442 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001783/0.5454, allocations: 7.984 kB / 0.7442 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.849e-05/0.5455, allocations: 20.02 kB / 0.7442 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.286e-05/0.5455, allocations: 12 kB / 0.7442 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000216/0.5457, allocations: 235 kB / 0.7445 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.5457, allocations: 0 / 0.7445 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004127/0.5461, allocations: 83.84 kB / 0.7445 GB, free: 4.227 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senDyn.d) * 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 (17): * Single equations (assignments): 17 * 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 Backend phase and start with SimCode phase: time 0.001184/0.5473, allocations: 1.048 MB / 0.7456 GB, free: 3.137 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004405/0.5478, allocations: 183.7 kB / 0.7457 GB, free: 2.957 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.818e-06/0.5478, allocations: 0 / 0.7457 GB, free: 2.957 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001995/0.548, allocations: 100.4 kB / 0.7458 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009135/0.5489, allocations: 171 kB / 0.746 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2392/0.7882, allocations: 3.02 MB / 0.7489 GB, free: 171.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003415/0.7886, allocations: 0.7818 MB / 0.7497 GB, free: 170.9 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003616/0.7889, allocations: 69.2 kB / 0.7498 GB, free: 170.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001639/0.7891, allocations: 90.31 kB / 0.7499 GB, free: 170.9 MB / 0.5762 GB Notification: Performance of SimCode: time 7.71e-07/0.7891, allocations: 0.7188 kB / 0.7499 GB, free: 170.9 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03558/0.8247, allocations: 8.937 MB / 0.7586 GB, free: 169.3 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.642/8.467, allocations: 5.297 kB / 0.7586 GB, free: 169.2 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_Velocity_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_Velocity.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.pipe 2>&1)