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.008323/0.008323, allocations: 97.3 kB / 15.73 MB, free: 6.035 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.00197/0.001971, allocations: 202.1 kB / 16.68 MB, free: 5.961 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.305/1.305, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9126/0.9126, allocations: 135.1 MB / 425.7 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001431, allocations: 59.91 kB / 0.5852 GB, free: 3.852 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4141/0.4155, allocations: 80.91 MB / 0.6642 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.RelativeHumidity): time 0.1715/0.5871, allocations: 165.3 MB / 0.8256 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002898/0.5901, allocations: 1.563 MB / 0.8271 GB, free: 10.17 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003948/0.5905, allocations: 11.94 kB / 0.8271 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0005245/0.5911, allocations: 146.9 kB / 0.8272 GB, free: 10.01 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001324/0.5924, allocations: 489.8 kB / 0.8277 GB, free: 9.531 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002145/0.5946, allocations: 0.7615 MB / 0.8285 GB, free: 8.77 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0008885/0.5955, allocations: 0.702 MB / 0.8291 GB, free: 8.066 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004634/0.5959, allocations: 262.7 kB / 0.8294 GB, free: 7.809 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006821/0.5966, allocations: 314.8 kB / 0.8297 GB, free: 7.5 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003876/0.597, allocations: 227.1 kB / 0.8299 GB, free: 7.277 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 6.29e-05/0.5971, allocations: 24 kB / 0.8299 GB, free: 7.254 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001597/0.5987, allocations: 0.8769 MB / 0.8308 GB, free: 6.375 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001869/0.5989, allocations: 111.7 kB / 0.8309 GB, free: 6.266 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002472/0.5992, allocations: 155.3 kB / 0.831 GB, free: 6.113 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001537/0.6007, allocations: 0.7641 MB / 0.8318 GB, free: 5.352 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.6007, allocations: 0 / 0.8318 GB, free: 5.352 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.533e-06/0.6007, allocations: 3.938 kB / 0.8318 GB, free: 5.348 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.592e-05/0.6008, allocations: 0 / 0.8318 GB, free: 5.348 MB / 0.6544 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.001363/0.6021, allocations: 0.6771 MB / 0.8325 GB, free: 4.621 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.6022, allocations: 8.031 kB / 0.8325 GB, free: 4.613 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.547e-05/0.6023, allocations: 62.53 kB / 0.8325 GB, free: 4.543 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005214/0.6028, allocations: 79.75 kB / 0.8326 GB, free: 4.465 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005192/0.6033, allocations: 326 kB / 0.8329 GB, free: 4.102 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.316e-05/0.6034, allocations: 16.56 kB / 0.8329 GB, free: 4.086 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.733e-05/0.6034, allocations: 24 kB / 0.8329 GB, free: 4.062 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006784/0.6041, allocations: 328.2 kB / 0.8333 GB, free: 3.73 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.6041, allocations: 0 / 0.8333 GB, free: 3.73 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.902e-05/0.6042, allocations: 16 kB / 0.8333 GB, free: 3.715 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.6042, allocations: 4 kB / 0.8333 GB, free: 3.711 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006953/0.6049, allocations: 289.5 kB / 0.8336 GB, free: 3.426 MB / 0.6544 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.001821/0.6067, allocations: 1.063 MB / 0.8346 GB, free: 2.297 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009061/0.6076, allocations: 331.6 kB / 0.8349 GB, free: 1.945 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003222/0.608, allocations: 136.8 kB / 0.835 GB, free: 1.809 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006627/0.6086, allocations: 400.2 kB / 0.8354 GB, free: 1.344 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.6087, allocations: 38.5 kB / 0.8355 GB, free: 1.297 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=19): time 1.493e-06/0.6087, allocations: 0 / 0.8355 GB, free: 1.297 MB / 0.6544 GB Notification: Performance of matching and sorting (n=19): time 0.001225/0.6099, allocations: 407.2 kB / 0.8358 GB, free: 0.8945 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.167e-05/0.61, allocations: 59.3 kB / 0.8359 GB, free: 0.8242 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002509/0.6102, allocations: 271 kB / 0.8362 GB, free: 0.5586 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.662e-05/0.6103, allocations: 25.7 kB / 0.8362 GB, free: 0.5273 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/0.6104, allocations: 172.3 kB / 0.8363 GB, free: 364 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.902e-05/0.6104, allocations: 71.38 kB / 0.8364 GB, free: 292 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.99e-05/0.6105, allocations: 41.72 kB / 0.8365 GB, free: 244 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.6107, allocations: 338.8 kB / 0.8368 GB, free: 15.9 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003023/0.611, allocations: 107.9 kB / 0.8369 GB, free: 15.79 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003415/0.6113, allocations: 161.9 kB / 0.837 GB, free: 15.61 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006219/0.6119, allocations: 271.1 kB / 0.8373 GB, free: 15.33 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.612, allocations: 0 / 0.8373 GB, free: 15.33 MB / 0.67 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007685/0.6127, allocations: 317.1 kB / 0.8376 GB, free: 15.02 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.6128, allocations: 8 kB / 0.8376 GB, free: 15.01 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.6128, allocations: 3.984 kB / 0.8376 GB, free: 15 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.634e-05/0.6128, allocations: 4 kB / 0.8376 GB, free: 15 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002757/0.6131, allocations: 51.97 kB / 0.8377 GB, free: 14.95 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.944e-05/0.6131, allocations: 7.938 kB / 0.8377 GB, free: 14.94 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002998/0.6134, allocations: 39.86 kB / 0.8377 GB, free: 14.9 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.112e-05/0.6135, allocations: 20.11 kB / 0.8377 GB, free: 14.88 MB / 0.67 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.0001542/0.6136, allocations: 147.4 kB / 0.8379 GB, free: 14.73 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.784e-05/0.6137, allocations: 35.75 kB / 0.8379 GB, free: 14.7 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007835/0.6145, allocations: 315.5 kB / 0.8382 GB, free: 14.38 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.6145, allocations: 8 kB / 0.8382 GB, free: 14.37 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.513e-06/0.6145, allocations: 0 / 0.8382 GB, free: 14.37 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.6146, allocations: 0 / 0.8382 GB, free: 14.37 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0017/0.6163, allocations: 0.933 MB / 0.8391 GB, free: 13.33 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/0.6163, allocations: 0 / 0.8391 GB, free: 13.33 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002637/0.6165, allocations: 51.95 kB / 0.8392 GB, free: 13.28 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.132e-06/0.6166, allocations: 12.12 kB / 0.8392 GB, free: 13.27 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.763e-05/0.6166, allocations: 0 / 0.8392 GB, free: 13.27 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.04e-06/0.6166, allocations: 4 kB / 0.8392 GB, free: 13.26 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.6166, allocations: 4 kB / 0.8392 GB, free: 13.26 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001123/0.6177, allocations: 0.561 MB / 0.8397 GB, free: 12.66 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001443/0.6179, allocations: 132.9 kB / 0.8399 GB, free: 12.52 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.611e-05/0.6179, allocations: 4 kB / 0.8399 GB, free: 12.51 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002356/0.6182, allocations: 23.97 kB / 0.8399 GB, free: 12.49 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.195e-05/0.6183, allocations: 23.91 kB / 0.8399 GB, free: 12.46 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.898e-05/0.6183, allocations: 4 kB / 0.8399 GB, free: 12.46 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0001829/0.6185, allocations: 197.9 kB / 0.8401 GB, free: 12.27 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6185, allocations: 0 / 0.8401 GB, free: 12.27 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0004746/0.619, allocations: 111.8 kB / 0.8402 GB, free: 12.16 MB / 0.67 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.001862/0.6208, allocations: 1.199 MB / 0.8414 GB, free: 10.92 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0007384/0.6216, allocations: 250.2 kB / 0.8416 GB, free: 10.68 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.6216, allocations: 4 kB / 0.8416 GB, free: 10.68 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0003401/0.6219, allocations: 135.8 kB / 0.8418 GB, free: 10.54 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007485/0.6227, allocations: 133.5 kB / 0.8419 GB, free: 10.42 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004207/0.6269, allocations: 2.98 MB / 0.8448 GB, free: 7.305 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000323/0.6273, allocations: 0.7869 MB / 0.8456 GB, free: 6.492 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0002278/0.6275, allocations: 62.25 kB / 0.8456 GB, free: 6.43 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001459/0.6277, allocations: 87.41 kB / 0.8457 GB, free: 6.344 MB / 0.67 GB Notification: Performance of SimCode: time 2.4e-07/0.6277, allocations: 0 / 0.8457 GB, free: 6.344 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03724/0.6649, allocations: 8.931 MB / 0.8544 GB, free: 13.58 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.945/8.61, allocations: 10.38 kB / 0.8544 GB, free: 13.57 MB / 0.6856 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Sensors.Examples.RelativeHumidity_res.csv --start-time 0 --stop-time 600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.24 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_RelativeHumidity.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1)