Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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(Buildings.Fluid.Sensors.Examples.Pressure,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_Pressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Pressure,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_Pressure",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.000939/0.0009389, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.001091/0.001091, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.598/1.598, allocations: 223.2 MB / 239.9 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.984/2.984, allocations: 409.2 MB / 0.6838 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005396/0.0005396, allocations: 12 kB / 0.8375 GB, free: 6.586 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9712/0.9718, allocations: 146.8 MB / 0.9809 GB, free: 6.352 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.1864/1.158, allocations: 141.8 MB / 1.119 GB, free: 8.188 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.00836/1.167, allocations: 5.998 MB / 1.125 GB, free: 2.176 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006301/1.167, allocations: 7.938 kB / 1.125 GB, free: 2.168 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001124/1.168, allocations: 223 kB / 1.125 GB, free: 1.949 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002109/1.171, allocations: 0.518 MB / 1.126 GB, free: 1.43 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001543/1.172, allocations: 444.6 kB / 1.126 GB, free: 1 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0007895/1.173, allocations: 431.5 kB / 1.127 GB, free: 0.5781 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003841/1.173, allocations: 206.3 kB / 1.127 GB, free: 388 kB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005064/1.174, allocations: 255.2 kB / 1.127 GB, free: 132 kB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001882/1.174, allocations: 131.4 kB / 1.127 GB, free: 0 / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 5.313e-05/1.174, allocations: 12.05 kB / 1.127 GB, free: 15.98 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008034/1.175, allocations: 391.2 kB / 1.128 GB, free: 15.61 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001119/1.175, allocations: 83.78 kB / 1.128 GB, free: 15.52 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 9.175e-05/1.175, allocations: 85.52 kB / 1.128 GB, free: 15.43 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0004903/1.176, allocations: 343.2 kB / 1.128 GB, free: 15.1 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/1.176, allocations: 0 / 1.128 GB, free: 15.1 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.695e-06/1.176, allocations: 0 / 1.128 GB, free: 15.1 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.513e-06/1.176, allocations: 0 / 1.128 GB, free: 15.1 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0009357/1.177, allocations: 0.5727 MB / 1.129 GB, free: 14.48 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/1.177, allocations: 8.031 kB / 1.129 GB, free: 14.47 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.919e-05/1.177, allocations: 58.55 kB / 1.129 GB, free: 14.4 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003803/1.177, allocations: 59.5 kB / 1.129 GB, free: 14.34 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004108/1.178, allocations: 306.2 kB / 1.129 GB, free: 14 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.747e-05/1.178, allocations: 28.38 kB / 1.129 GB, free: 13.98 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.879e-05/1.178, allocations: 24 kB / 1.129 GB, free: 13.95 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005049/1.178, allocations: 296.6 kB / 1.13 GB, free: 13.62 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/1.178, allocations: 0 / 1.13 GB, free: 13.62 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.033e-05/1.178, allocations: 15.98 kB / 1.13 GB, free: 13.61 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/1.178, allocations: 4 kB / 1.13 GB, free: 13.6 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003879/1.179, allocations: 191.5 kB / 1.13 GB, free: 13.41 MB / 0.8887 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.001714/1.18, allocations: 1.702 MB / 1.131 GB, free: 11.59 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003007/1.181, allocations: 102.6 kB / 1.131 GB, free: 11.48 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 5.103e-05/1.181, allocations: 8 kB / 1.131 GB, free: 11.47 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/1.181, allocations: 34.5 kB / 1.132 GB, free: 11.43 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=11): time 4.859e-06/1.181, allocations: 3.984 kB / 1.132 GB, free: 11.43 MB / 0.8887 GB Notification: Performance of matching and sorting (n=11): time 0.000752/1.182, allocations: 245.6 kB / 1.132 GB, free: 11.18 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.88e-05/1.182, allocations: 55.39 kB / 1.132 GB, free: 11.11 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003781/1.182, allocations: 316.5 kB / 1.132 GB, free: 10.8 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.614e-05/1.182, allocations: 29.7 kB / 1.132 GB, free: 10.76 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001691/1.182, allocations: 199.8 kB / 1.132 GB, free: 10.56 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 3.323e-05/1.182, allocations: 35.45 kB / 1.132 GB, free: 10.53 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.004e-05/1.182, allocations: 4 kB / 1.132 GB, free: 10.52 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001344/1.182, allocations: 342.8 kB / 1.133 GB, free: 10.18 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001364/1.183, allocations: 55.95 kB / 1.133 GB, free: 10.12 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002556/1.183, allocations: 197.1 kB / 1.133 GB, free: 9.871 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001781/1.183, allocations: 91.89 kB / 1.133 GB, free: 9.781 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/1.183, allocations: 0 / 1.133 GB, free: 9.781 MB / 0.8887 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004484/1.183, allocations: 260.9 kB / 1.133 GB, free: 9.52 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005823/1.184, allocations: 1.403 MB / 1.135 GB, free: 8.008 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/1.184, allocations: 4 kB / 1.135 GB, free: 8.004 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/1.184, allocations: 4 kB / 1.135 GB, free: 8 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001926/1.184, allocations: 51.91 kB / 1.135 GB, free: 7.949 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/1.184, allocations: 4 kB / 1.135 GB, free: 7.945 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002627/1.185, allocations: 43.67 kB / 1.135 GB, free: 7.902 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.182e-05/1.185, allocations: 19.98 kB / 1.135 GB, free: 7.883 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 9.428e-06/1.185, allocations: 5.875 kB / 1.135 GB, free: 7.879 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000378/1.185, allocations: 203.6 kB / 1.135 GB, free: 7.68 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/1.185, allocations: 4 kB / 1.135 GB, free: 7.676 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.38e-06/1.185, allocations: 4 kB / 1.135 GB, free: 7.672 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001671/1.185, allocations: 59.86 kB / 1.135 GB, free: 7.613 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/1.185, allocations: 4 kB / 1.135 GB, free: 7.609 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002216/1.185, allocations: 36.14 kB / 1.135 GB, free: 7.574 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.673e-05/1.185, allocations: 12 kB / 1.135 GB, free: 7.562 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00019/1.186, allocations: 238.9 kB / 1.135 GB, free: 7.32 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.355e-05/1.186, allocations: 35.56 kB / 1.135 GB, free: 7.285 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003995/1.186, allocations: 180.4 kB / 1.136 GB, free: 7.102 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/1.186, allocations: 4.234 kB / 1.136 GB, free: 7.098 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/1.186, allocations: 0 / 1.136 GB, free: 7.098 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/1.186, allocations: 0 / 1.136 GB, free: 7.098 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000963/1.187, allocations: 0.6211 MB / 1.136 GB, free: 6.398 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/1.187, allocations: 4 kB / 1.136 GB, free: 6.395 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001302/1.187, allocations: 32.14 kB / 1.136 GB, free: 6.363 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.141e-06/1.187, allocations: 4 kB / 1.136 GB, free: 6.359 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/1.187, allocations: 11.94 kB / 1.136 GB, free: 6.348 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/1.187, allocations: 0 / 1.136 GB, free: 6.348 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/1.187, allocations: 4 kB / 1.136 GB, free: 6.344 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005062/1.188, allocations: 404.9 kB / 1.137 GB, free: 5.867 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001083/1.188, allocations: 108.8 kB / 1.137 GB, free: 5.742 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.163e-05/1.188, allocations: 4 kB / 1.137 GB, free: 5.738 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001942/1.188, allocations: 31.83 kB / 1.137 GB, free: 5.707 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.045e-05/1.188, allocations: 11.94 kB / 1.137 GB, free: 5.695 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.337e-06/1.188, allocations: 4 kB / 1.137 GB, free: 5.691 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.00023/1.189, allocations: 223 kB / 1.137 GB, free: 5.477 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.5e-07/1.189, allocations: 4 kB / 1.137 GB, free: 5.473 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0006235/1.189, allocations: 135.8 kB / 1.137 GB, free: 5.34 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00126/1.19, allocations: 1.461 MB / 1.138 GB, free: 3.812 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0006442/1.191, allocations: 249.1 kB / 1.139 GB, free: 3.57 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/1.191, allocations: 0 / 1.139 GB, free: 3.57 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.00016/1.191, allocations: 75.89 kB / 1.139 GB, free: 3.496 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008537/1.192, allocations: 143.2 kB / 1.139 GB, free: 3.355 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003625/1.196, allocations: 3.879 MB / 1.143 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005015/1.196, allocations: 0.7875 MB / 1.143 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0003531/1.197, allocations: 86.97 kB / 1.144 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001532/1.197, allocations: 87.41 kB / 1.144 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of SimCode: time 1.814e-06/1.197, allocations: 0 / 1.144 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02173/1.219, allocations: 7.486 MB / 1.151 GB, free: 7.07 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003001/1.219, allocations: 220.4 kB / 1.151 GB, free: 6.824 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.224/3.443, allocations: 0 / 1.151 GB, free: 6.824 MB / 0.9044 GB (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_Pressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_Pressure.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure_res.mat does not exist to compare? outputFormat=mat