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: translateModel(IDEAS.Fluid.Sensors.Examples.RelativeHumidity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.RelativeHumidity") translateModel(IDEAS.Fluid.Sensors.Examples.RelativeHumidity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.RelativeHumidity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007397/0.007397, allocations: 100.6 kB / 15.73 MB, free: 6.012 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.001255/0.001255, allocations: 185.8 kB / 16.67 MB, free: 5.934 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.413/1.413, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8858/0.8858, allocations: 135.1 MB / 425.7 MB, free: 4.062 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 62.62 kB / 0.5856 GB, free: 21.51 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1753/0.1765, allocations: 80.93 MB / 0.6647 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.RelativeHumidity): time 0.593/0.7696, allocations: 165.3 MB / 0.826 GB, free: 1.602 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.003549/0.7732, allocations: 1.552 MB / 0.8276 GB, free: 360 kB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006769/0.7739, allocations: 12.03 kB / 0.8276 GB, free: 356 kB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006973/0.7746, allocations: 146.6 kB / 0.8277 GB, free: 224 kB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001788/0.7765, allocations: 466.1 kB / 0.8282 GB, free: 15.87 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002191/0.7787, allocations: 0.7561 MB / 0.8289 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001002/0.7797, allocations: 0.7021 MB / 0.8296 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005046/0.7802, allocations: 267.8 kB / 0.8298 GB, free: 14.76 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006925/0.7809, allocations: 308.3 kB / 0.8301 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003913/0.7813, allocations: 231 kB / 0.8304 GB, free: 14.45 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.132e-05/0.7814, allocations: 29.38 kB / 0.8304 GB, free: 14.44 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001593/0.783, allocations: 0.8623 MB / 0.8312 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001657/0.7832, allocations: 113.6 kB / 0.8313 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002157/0.7834, allocations: 158.5 kB / 0.8315 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001386/0.7848, allocations: 0.7446 MB / 0.8322 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.443e-06/0.7848, allocations: 6.453 kB / 0.8322 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.453e-06/0.7848, allocations: 0 / 0.8322 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.158e-05/0.7848, allocations: 0 / 0.8322 GB, free: 13.34 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.001353/0.7862, allocations: 0.6942 MB / 0.8329 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.7862, allocations: 11.17 kB / 0.8329 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000537/0.7868, allocations: 76.38 kB / 0.833 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004689/0.7873, allocations: 329 kB / 0.8333 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/0.7873, allocations: 12.81 kB / 0.8333 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.19e-05/0.7874, allocations: 25.47 kB / 0.8333 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000689/0.788, allocations: 336.1 kB / 0.8336 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.7881, allocations: 3.938 kB / 0.8337 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.145e-05/0.7881, allocations: 14.34 kB / 0.8337 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.7881, allocations: 5.344 kB / 0.8337 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007255/0.7889, allocations: 286.8 kB / 0.8339 GB, free: 12.02 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.00175/0.7906, allocations: 1.067 MB / 0.835 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008922/0.7915, allocations: 323.8 kB / 0.8353 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003306/0.7919, allocations: 135.2 kB / 0.8354 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006805/0.7926, allocations: 394.5 kB / 0.8358 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.793e-05/0.7926, allocations: 36.52 kB / 0.8358 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=19): time 1.663e-06/0.7926, allocations: 0 / 0.8358 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of matching and sorting (n=19): time 0.001248/0.7939, allocations: 409.7 kB / 0.8362 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.75e-05/0.7939, allocations: 54.03 kB / 0.8363 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002708/0.7942, allocations: 269.6 kB / 0.8365 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.227e-05/0.7942, allocations: 32.23 kB / 0.8366 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001357/0.7944, allocations: 171.6 kB / 0.8367 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.079e-05/0.7944, allocations: 70.98 kB / 0.8368 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.779e-05/0.7945, allocations: 43.23 kB / 0.8368 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.7947, allocations: 335.7 kB / 0.8372 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003151/0.795, allocations: 103.3 kB / 0.8373 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003448/0.7954, allocations: 164.4 kB / 0.8374 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006382/0.796, allocations: 261.7 kB / 0.8377 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.796, allocations: 3.938 kB / 0.8377 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007668/0.7968, allocations: 319.3 kB / 0.838 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.7968, allocations: 4.875 kB / 0.838 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.7968, allocations: 6.562 kB / 0.838 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.7968, allocations: 2.062 kB / 0.838 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002753/0.7971, allocations: 56.64 kB / 0.838 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.7971, allocations: 14.16 kB / 0.8381 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002607/0.7974, allocations: 48.81 kB / 0.8381 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.241e-05/0.7975, allocations: 5.156 kB / 0.8381 GB, free: 8.801 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.0001501/0.7976, allocations: 150 kB / 0.8382 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.038e-05/0.7977, allocations: 32.44 kB / 0.8383 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008064/0.7985, allocations: 318.8 kB / 0.8386 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.7985, allocations: 2.812 kB / 0.8386 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.7985, allocations: 0 / 0.8386 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.7985, allocations: 3.984 kB / 0.8386 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00157/0.8001, allocations: 0.9204 MB / 0.8395 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.8001, allocations: 6.125 kB / 0.8395 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002504/0.8004, allocations: 55.14 kB / 0.8395 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.456e-06/0.8004, allocations: 2.25 kB / 0.8395 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.975e-05/0.8004, allocations: 6.969 kB / 0.8396 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/0.8004, allocations: 2.719 kB / 0.8396 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.8004, allocations: 2.094 kB / 0.8396 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001129/0.8016, allocations: 0.5656 MB / 0.8401 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001488/0.8017, allocations: 130.6 kB / 0.8402 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.495e-05/0.8018, allocations: 2.719 kB / 0.8402 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002369/0.802, allocations: 24.28 kB / 0.8403 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.697e-05/0.8021, allocations: 23.2 kB / 0.8403 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.38e-05/0.8022, allocations: 7 kB / 0.8403 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002298/0.8024, allocations: 197.8 kB / 0.8405 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8024, allocations: 0 / 0.8405 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005344/0.8029, allocations: 104.3 kB / 0.8406 GB, free: 6.934 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.0006443/0.8036, allocations: 215.1 kB / 0.8408 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0008293/0.8044, allocations: 258.6 kB / 0.841 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.8044, allocations: 0 / 0.841 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003942/0.8048, allocations: 139.9 kB / 0.8412 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008354/0.8057, allocations: 133.4 kB / 0.8413 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001371/0.8071, allocations: 0.6102 MB / 0.8419 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004884/0.8076, allocations: 0.7802 MB / 0.8426 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002769/0.8079, allocations: 65.52 kB / 0.8427 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.296e-05/0.808, allocations: 25.28 kB / 0.8427 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.808, allocations: 0 / 0.8427 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of Templates: time 0.01263/0.8206, allocations: 5.987 MB / 0.8486 GB, free: 2.344 MB / 0.6075 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.RelativeHumidity.makefile (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 & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.RelativeHumidity -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1)