Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Fluid.Sensors.Examples.Velocity,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.Velocity,fileNamePrefix="BuildSysPro_BuildSysPro_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.007818/0.007818, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001246/0.001245, allocations: 196.8 kB / 16.67 MB, free: 5.926 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.378/1.378, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8864/0.8864, allocations: 143.1 MB / 433.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 60.28 kB / 0.5951 GB, free: 12.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1568/0.158, allocations: 82.05 MB / 0.6752 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.Velocity): time 0.5988/0.7569, allocations: 167.4 MB / 0.8387 GB, free: 2.566 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003152/0.7601, allocations: 1.559 MB / 0.8402 GB, free: 1.297 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000332/0.7604, allocations: 11.91 kB / 0.8402 GB, free: 1.293 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000472/0.7609, allocations: 151.7 kB / 0.8404 GB, free: 1.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001836/0.7628, allocations: 0.7036 MB / 0.8411 GB, free: 0.625 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001676/0.7645, allocations: 0.6034 MB / 0.8416 GB, free: 188 kB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0009885/0.7655, allocations: 0.7204 MB / 0.8424 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004269/0.7659, allocations: 241 kB / 0.8426 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006391/0.7666, allocations: 355.9 kB / 0.8429 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002917/0.7669, allocations: 217.1 kB / 0.8431 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 3.788e-05/0.7669, allocations: 22.44 kB / 0.8432 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001487/0.7684, allocations: 0.8693 MB / 0.844 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001805/0.7686, allocations: 116.1 kB / 0.8441 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001928/0.7688, allocations: 176.5 kB / 0.8443 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001186/0.77, allocations: 0.7467 MB / 0.845 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.77, allocations: 0 / 0.845 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.324e-06/0.77, allocations: 0 / 0.845 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.092e-05/0.7701, allocations: 2.688 kB / 0.845 GB, free: 14.16 MB / 0.6231 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.0009811/0.771, allocations: 0.6657 MB / 0.8457 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.7711, allocations: 9.594 kB / 0.8457 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.92e-05/0.7712, allocations: 58.52 kB / 0.8457 GB, free: 13.51 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001148/0.7723, allocations: 163.4 kB / 0.8459 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005304/0.7729, allocations: 321 kB / 0.8462 GB, free: 13.13 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.173e-05/0.7729, allocations: 18.12 kB / 0.8462 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.532e-05/0.7729, allocations: 31.38 kB / 0.8462 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000475/0.7734, allocations: 285.8 kB / 0.8465 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.7735, allocations: 0 / 0.8465 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.416e-05/0.7735, allocations: 10.91 kB / 0.8465 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/0.7735, allocations: 4.531 kB / 0.8465 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003888/0.7739, allocations: 210.4 kB / 0.8467 GB, free: 12.81 MB / 0.6231 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.001402/0.7753, allocations: 1.227 MB / 0.8479 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002672/0.7756, allocations: 142.9 kB / 0.8481 GB, free: 11.6 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001667/0.7758, allocations: 99.39 kB / 0.8482 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005378/0.7763, allocations: 301.4 kB / 0.8484 GB, free: 11.24 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.161e-05/0.7763, allocations: 41.73 kB / 0.8485 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=17): time 1.713e-06/0.7764, allocations: 0 / 0.8485 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of matching and sorting (n=17): time 0.0007402/0.7771, allocations: 290.8 kB / 0.8488 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.818e-05/0.7771, allocations: 54.34 kB / 0.8488 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002893/0.7774, allocations: 320.9 kB / 0.8491 GB, free: 10.78 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.721e-05/0.7775, allocations: 29.7 kB / 0.8491 GB, free: 10.75 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001221/0.7776, allocations: 189.8 kB / 0.8493 GB, free: 10.57 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.935e-05/0.7777, allocations: 58.42 kB / 0.8494 GB, free: 10.52 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.076e-05/0.7777, allocations: 43.61 kB / 0.8494 GB, free: 10.49 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.7779, allocations: 346.4 kB / 0.8498 GB, free: 10.15 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000153/0.778, allocations: 67.14 kB / 0.8498 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001932/0.7782, allocations: 127.6 kB / 0.8499 GB, free: 10.03 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003346/0.7786, allocations: 197 kB / 0.8501 GB, free: 9.902 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.614e-06/0.7786, allocations: 6.844 kB / 0.8501 GB, free: 9.898 MB / 0.6231 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004737/0.7791, allocations: 264.8 kB / 0.8504 GB, free: 9.75 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.7791, allocations: 7.688 kB / 0.8504 GB, free: 9.75 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.311e-06/0.7791, allocations: 0 / 0.8504 GB, free: 9.75 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.7791, allocations: 2.625 kB / 0.8504 GB, free: 9.75 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002106/0.7793, allocations: 47.16 kB / 0.8504 GB, free: 9.738 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.176e-06/0.7793, allocations: 1.844 kB / 0.8504 GB, free: 9.738 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002096/0.7796, allocations: 34.05 kB / 0.8505 GB, free: 9.715 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.929e-05/0.7796, allocations: 7.812 kB / 0.8505 GB, free: 9.715 MB / 0.6231 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.0001478/0.7798, allocations: 161.7 kB / 0.8506 GB, free: 9.566 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.547e-05/0.7798, allocations: 24.59 kB / 0.8507 GB, free: 9.555 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004545/0.7803, allocations: 225.6 kB / 0.8509 GB, free: 9.422 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.7803, allocations: 2.281 kB / 0.8509 GB, free: 9.422 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.7803, allocations: 3.984 kB / 0.8509 GB, free: 9.418 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.7803, allocations: 4.078 kB / 0.8509 GB, free: 9.414 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009913/0.7813, allocations: 0.7072 MB / 0.8516 GB, free: 8.82 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/0.7813, allocations: 7.297 kB / 0.8516 GB, free: 8.816 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001679/0.7815, allocations: 37.2 kB / 0.8516 GB, free: 8.805 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.7815, allocations: 2.469 kB / 0.8516 GB, free: 8.805 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.816e-05/0.7815, allocations: 9.344 kB / 0.8516 GB, free: 8.801 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.82e-06/0.7815, allocations: 10.33 kB / 0.8516 GB, free: 8.793 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.7815, allocations: 1.906 kB / 0.8516 GB, free: 8.793 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006033/0.7822, allocations: 446.1 kB / 0.8521 GB, free: 8.465 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001169/0.7823, allocations: 119.9 kB / 0.8522 GB, free: 8.344 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.668e-05/0.7823, allocations: 14.17 kB / 0.8522 GB, free: 8.332 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001648/0.7825, allocations: 13.66 kB / 0.8522 GB, free: 8.324 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.052e-05/0.7826, allocations: 19.3 kB / 0.8522 GB, free: 8.312 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.178e-05/0.7826, allocations: 4.812 kB / 0.8522 GB, free: 8.312 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002166/0.7828, allocations: 230.5 kB / 0.8524 GB, free: 8.098 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7828, allocations: 0 / 0.8524 GB, free: 8.098 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003898/0.7832, allocations: 87.92 kB / 0.8525 GB, free: 8.012 MB / 0.6231 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.001112/0.7843, allocations: 1.053 MB / 0.8536 GB, free: 6.918 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.000423/0.7848, allocations: 187.6 kB / 0.8537 GB, free: 6.734 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.7848, allocations: 4 kB / 0.8537 GB, free: 6.73 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001781/0.785, allocations: 95.81 kB / 0.8538 GB, free: 6.637 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008452/0.7858, allocations: 171 kB / 0.854 GB, free: 6.473 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003488/0.7893, allocations: 2.995 MB / 0.8569 GB, free: 3.328 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000336/0.7897, allocations: 0.7834 MB / 0.8577 GB, free: 2.52 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002237/0.7899, allocations: 62.92 kB / 0.8577 GB, free: 2.461 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001289/0.79, allocations: 95.34 kB / 0.8578 GB, free: 2.367 MB / 0.6231 GB Notification: Performance of SimCode: time 6.92e-07/0.7901, allocations: 0 / 0.8578 GB, free: 2.367 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03038/0.8204, allocations: 9.177 MB / 0.8668 GB, free: 9.383 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.914/8.735, allocations: 5.938 kB / 0.8668 GB, free: 9.379 MB / 0.6387 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Velocity.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Velocity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_Velocity_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_Velocity.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Velocity.pipe 2>&1)