Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.RelativeHumidity.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Sensors.Examples.RelativeHumidity,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_RelativeHumidity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.RelativeHumidity,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_RelativeHumidity",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.005211/0.005211, allocations: 103.4 kB / 15.73 MB, free: 6.047 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.00121/0.001211, allocations: 189.3 kB / 16.67 MB, free: 5.969 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.311/1.311, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7778/0.7778, allocations: 135.1 MB / 425.7 MB, free: 4.066 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 63.94 kB / 0.5851 GB, free: 21.69 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1621/0.1633, allocations: 80.94 MB / 0.6642 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.RelativeHumidity): time 0.583/0.7464, allocations: 165.3 MB / 0.8256 GB, free: 1.938 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.002694/0.7491, allocations: 1.555 MB / 0.8271 GB, free: 0.6836 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002536/0.7494, allocations: 15.22 kB / 0.8271 GB, free: 0.6758 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0004601/0.7499, allocations: 138.6 kB / 0.8272 GB, free: 0.5547 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001123/0.7511, allocations: 468 kB / 0.8277 GB, free: 208 kB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001711/0.7528, allocations: 0.7585 MB / 0.8284 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006918/0.7535, allocations: 0.6985 MB / 0.8291 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003802/0.7539, allocations: 262.7 kB / 0.8293 GB, free: 15.1 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000497/0.7544, allocations: 320.6 kB / 0.8297 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002599/0.7547, allocations: 224.7 kB / 0.8299 GB, free: 14.78 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.666e-05/0.7547, allocations: 23 kB / 0.8299 GB, free: 14.78 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00132/0.756, allocations: 0.8684 MB / 0.8307 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001185/0.7562, allocations: 110.7 kB / 0.8308 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001602/0.7563, allocations: 163.2 kB / 0.831 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001017/0.7574, allocations: 0.7476 MB / 0.8317 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.7574, allocations: 0 / 0.8317 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.353e-06/0.7574, allocations: 0 / 0.8317 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.624e-06/0.7574, allocations: 0 / 0.8317 GB, free: 13.68 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001097/0.7585, allocations: 0.6734 MB / 0.8324 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.7585, allocations: 11.08 kB / 0.8324 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.313e-05/0.7586, allocations: 71.53 kB / 0.8325 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004613/0.7591, allocations: 74.59 kB / 0.8325 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004972/0.7596, allocations: 316.8 kB / 0.8328 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.7596, allocations: 18.12 kB / 0.8329 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.995e-05/0.7597, allocations: 19.59 kB / 0.8329 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006576/0.7603, allocations: 338.4 kB / 0.8332 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.338e-05/0.7604, allocations: 7.938 kB / 0.8332 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.853e-05/0.7604, allocations: 10.69 kB / 0.8332 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.896e-06/0.7604, allocations: 5.062 kB / 0.8332 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006946/0.7611, allocations: 286 kB / 0.8335 GB, free: 12.32 MB / 0.6075 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.001695/0.7628, allocations: 1.06 MB / 0.8345 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008572/0.7637, allocations: 321.7 kB / 0.8348 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003203/0.764, allocations: 143.8 kB / 0.835 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006677/0.7647, allocations: 387.4 kB / 0.8353 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.453e-05/0.7647, allocations: 36.75 kB / 0.8354 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=19): time 3.155e-06/0.7647, allocations: 0 / 0.8354 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of matching and sorting (n=19): time 0.001191/0.7659, allocations: 417.4 kB / 0.8358 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.616e-05/0.766, allocations: 58.28 kB / 0.8358 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002513/0.7662, allocations: 265.5 kB / 0.8361 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.629e-05/0.7663, allocations: 29.7 kB / 0.8361 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001244/0.7664, allocations: 167.1 kB / 0.8363 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.532e-05/0.7665, allocations: 73.08 kB / 0.8363 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.42e-05/0.7666, allocations: 43.42 kB / 0.8364 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.7667, allocations: 339.5 kB / 0.8367 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003059/0.767, allocations: 106.8 kB / 0.8368 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003396/0.7674, allocations: 162.6 kB / 0.837 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005972/0.768, allocations: 264.2 kB / 0.8372 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.768, allocations: 0 / 0.8372 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007048/0.7687, allocations: 318.9 kB / 0.8375 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.7687, allocations: 9.188 kB / 0.8375 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.7687, allocations: 0 / 0.8375 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.7688, allocations: 2.688 kB / 0.8375 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002615/0.769, allocations: 62.02 kB / 0.8376 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/0.769, allocations: 2.875 kB / 0.8376 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000246/0.7693, allocations: 43.31 kB / 0.8376 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.708e-05/0.7693, allocations: 7.344 kB / 0.8376 GB, free: 9.109 MB / 0.6075 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.0001419/0.7695, allocations: 153.7 kB / 0.8378 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.344e-05/0.7695, allocations: 31.88 kB / 0.8378 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007828/0.7703, allocations: 313.9 kB / 0.8381 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.7703, allocations: 2.094 kB / 0.8381 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.463e-06/0.7704, allocations: 2.25 kB / 0.8381 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.7704, allocations: 0 / 0.8381 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001677/0.772, allocations: 0.928 MB / 0.839 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.683e-06/0.7721, allocations: 6.391 kB / 0.839 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002602/0.7723, allocations: 56.33 kB / 0.8391 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.863e-06/0.7724, allocations: 6.219 kB / 0.8391 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.005e-05/0.7724, allocations: 2.906 kB / 0.8391 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.7724, allocations: 2.75 kB / 0.8391 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.745e-06/0.7724, allocations: 6.031 kB / 0.8391 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001152/0.7736, allocations: 0.561 MB / 0.8397 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001437/0.7737, allocations: 128 kB / 0.8398 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.779e-05/0.7738, allocations: 9.234 kB / 0.8398 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002185/0.774, allocations: 19.08 kB / 0.8398 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.482e-05/0.7741, allocations: 30.25 kB / 0.8398 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.1e-05/0.7741, allocations: 4.75 kB / 0.8398 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002112/0.7743, allocations: 193.6 kB / 0.84 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7743, allocations: 4.062 kB / 0.84 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004888/0.7748, allocations: 108.8 kB / 0.8401 GB, free: 7.23 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 1 (relHum.phi) * 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 (19): * Single equations (assignments): 19 * 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.001755/0.7766, allocations: 1.196 MB / 0.8413 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0006952/0.7773, allocations: 255.1 kB / 0.8415 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.7773, allocations: 0 / 0.8415 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003409/0.7776, allocations: 141.3 kB / 0.8417 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008253/0.7785, allocations: 137 kB / 0.8418 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0042/0.7827, allocations: 2.958 MB / 0.8447 GB, free: 3.82 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003556/0.7831, allocations: 0.784 MB / 0.8455 GB, free: 3.074 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002195/0.7833, allocations: 65.52 kB / 0.8455 GB, free: 3.043 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001489/0.7834, allocations: 89.25 kB / 0.8456 GB, free: 2.973 MB / 0.6075 GB Notification: Performance of SimCode: time 2.61e-07/0.7835, allocations: 3.938 kB / 0.8456 GB, free: 2.969 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03189/0.8154, allocations: 9.067 MB / 0.8545 GB, free: 11.99 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.029/8.844, allocations: 17.5 kB / 0.8545 GB, free: 11.98 MB / 0.6231 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.RelativeHumidity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Examples_RelativeHumidity_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_RelativeHumidity.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1)