Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",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.001079/0.001078, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001225/0.001224, allocations: 197.1 kB / 16.53 MB, free: 6.672 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.331/1.331, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002021/0.002021, allocations: 282.9 kB / 290.7 MB, free: 2 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9414/0.9414, allocations: 169.2 MB / 0.4982 GB, free: 13.96 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001748/0.001749, allocations: 97.7 kB / 0.5953 GB, free: 27.99 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1725/0.1743, allocations: 86.99 MB / 0.6803 GB, free: 0.5781 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.5905/0.7649, allocations: 179.4 MB / 0.8555 GB, free: 8.969 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009082/0.774, allocations: 7.83 MB / 0.8631 GB, free: 2.621 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007135/0.7747, allocations: 20.91 kB / 0.8631 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00083/0.7756, allocations: 247.3 kB / 0.8634 GB, free: 2.395 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003059/0.7787, allocations: 1.225 MB / 0.8646 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00175/0.7805, allocations: 0.726 MB / 0.8653 GB, free: 0.9258 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001249/0.7817, allocations: 1.07 MB / 0.8663 GB, free: 336 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006662/0.7824, allocations: 416.6 kB / 0.8667 GB, free: 76 kB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002291/0.7847, allocations: 0.8233 MB / 0.8675 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006834/0.7854, allocations: 434.7 kB / 0.8679 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 8.046e-05/0.7855, allocations: 37.38 kB / 0.868 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001708/0.7872, allocations: 0.9511 MB / 0.8689 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001919/0.7874, allocations: 155.9 kB / 0.869 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003143/0.7877, allocations: 241 kB / 0.8693 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001603/0.7894, allocations: 0.9353 MB / 0.8702 GB, free: 14 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.7894, allocations: 0 / 0.8702 GB, free: 14 MB / 0.5919 GB Notification: Performance of FrontEnd: time 9.52e-07/0.7894, allocations: 0 / 0.8702 GB, free: 14 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.112e-05/0.7894, allocations: 4 kB / 0.8702 GB, free: 13.99 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001285/0.7907, allocations: 0.8073 MB / 0.871 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.7908, allocations: 13.72 kB / 0.871 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.259e-05/0.7908, allocations: 71.34 kB / 0.8711 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009498/0.7918, allocations: 152.5 kB / 0.8712 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005947/0.7924, allocations: 388.6 kB / 0.8716 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.649e-05/0.7924, allocations: 28.09 kB / 0.8716 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.744e-05/0.7925, allocations: 37.22 kB / 0.8716 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000671/0.7932, allocations: 443.8 kB / 0.8721 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.7932, allocations: 2.625 kB / 0.8721 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.372e-05/0.7932, allocations: 17.91 kB / 0.8721 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.428e-06/0.7933, allocations: 10.22 kB / 0.8721 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000577/0.7938, allocations: 324.6 kB / 0.8724 GB, free: 12.34 MB / 0.5919 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.002086/0.7959, allocations: 2.019 MB / 0.8744 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004257/0.7964, allocations: 240.3 kB / 0.8746 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002594/0.7966, allocations: 154.7 kB / 0.8747 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006019/0.7972, allocations: 309 kB / 0.875 GB, free: 9.973 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/0.7973, allocations: 36.64 kB / 0.8751 GB, free: 9.93 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=24): time 1.392e-06/0.7973, allocations: 0 / 0.8751 GB, free: 9.93 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24): time 0.001088/0.7984, allocations: 459.3 kB / 0.8755 GB, free: 9.699 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.605e-05/0.7985, allocations: 58.03 kB / 0.8756 GB, free: 9.633 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004782/0.7989, allocations: 397.2 kB / 0.8759 GB, free: 9.387 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.605e-05/0.799, allocations: 35.83 kB / 0.876 GB, free: 9.348 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001725/0.7992, allocations: 226.9 kB / 0.8762 GB, free: 9.145 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.932e-05/0.7993, allocations: 81.06 kB / 0.8763 GB, free: 9.074 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001132/0.7994, allocations: 62.44 kB / 0.8763 GB, free: 9.031 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001578/0.7995, allocations: 354.5 kB / 0.8767 GB, free: 8.684 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002336/0.7998, allocations: 113.5 kB / 0.8768 GB, free: 8.629 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002899/0.8001, allocations: 180.6 kB / 0.8769 GB, free: 8.5 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005139/0.8006, allocations: 309.3 kB / 0.8772 GB, free: 8.305 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.8006, allocations: 0 / 0.8772 GB, free: 8.305 MB / 0.5919 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006475/0.8013, allocations: 365 kB / 0.8776 GB, free: 8.117 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.8013, allocations: 9.266 kB / 0.8776 GB, free: 8.113 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.8013, allocations: 0 / 0.8776 GB, free: 8.113 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.8013, allocations: 4.406 kB / 0.8776 GB, free: 8.113 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002772/0.8016, allocations: 65.45 kB / 0.8777 GB, free: 8.094 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.208e-05/0.8016, allocations: 3.031 kB / 0.8777 GB, free: 8.094 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002577/0.8019, allocations: 43.72 kB / 0.8777 GB, free: 8.062 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.198e-05/0.8019, allocations: 10.12 kB / 0.8777 GB, free: 8.062 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (31): * Single equations (assignments): 31 * 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.000174/0.8021, allocations: 165.6 kB / 0.8779 GB, free: 7.914 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.898e-05/0.8022, allocations: 43.91 kB / 0.8779 GB, free: 7.891 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006969/0.8029, allocations: 370.6 kB / 0.8783 GB, free: 7.684 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.249e-06/0.8029, allocations: 2.75 kB / 0.8783 GB, free: 7.684 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.8029, allocations: 0 / 0.8783 GB, free: 7.684 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/0.8029, allocations: 3.984 kB / 0.8783 GB, free: 7.68 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001414/0.8044, allocations: 0.9424 MB / 0.8792 GB, free: 6.953 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.8044, allocations: 2.688 kB / 0.8792 GB, free: 6.953 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002385/0.8046, allocations: 39.27 kB / 0.8792 GB, free: 6.949 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.909e-06/0.8046, allocations: 8.281 kB / 0.8792 GB, free: 6.945 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.469e-05/0.8047, allocations: 16.48 kB / 0.8793 GB, free: 6.934 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.8047, allocations: 7.094 kB / 0.8793 GB, free: 6.93 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.8047, allocations: 3.922 kB / 0.8793 GB, free: 6.93 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009391/0.8056, allocations: 0.6261 MB / 0.8799 GB, free: 6.504 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001765/0.8058, allocations: 151.1 kB / 0.88 GB, free: 6.359 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.377e-05/0.8059, allocations: 5.812 kB / 0.88 GB, free: 6.355 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002144/0.8061, allocations: 14.05 kB / 0.88 GB, free: 6.348 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.361e-05/0.8062, allocations: 21.52 kB / 0.8801 GB, free: 6.336 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.545e-05/0.8062, allocations: 7.531 kB / 0.8801 GB, free: 6.336 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002681/0.8065, allocations: 286.3 kB / 0.8803 GB, free: 6.16 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8065, allocations: 0 / 0.8803 GB, free: 6.16 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004459/0.8069, allocations: 114.5 kB / 0.8805 GB, free: 6.137 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senH.h_out) * 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 (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 Backend phase and start with SimCode phase: time 0.0015/0.8084, allocations: 1.25 MB / 0.8817 GB, free: 5.125 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005672/0.809, allocations: 299 kB / 0.882 GB, free: 4.992 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.809, allocations: 448 / 0.882 GB, free: 4.992 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002559/0.8093, allocations: 155.9 kB / 0.8821 GB, free: 4.918 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001026/0.8103, allocations: 228.1 kB / 0.8823 GB, free: 4.805 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004549/0.8149, allocations: 3.839 MB / 0.8861 GB, free: 2.09 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004106/0.8153, allocations: 0.8241 MB / 0.8869 GB, free: 1.328 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003418/0.8157, allocations: 98.72 kB / 0.887 GB, free: 1.281 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002128/0.8159, allocations: 142.9 kB / 0.8871 GB, free: 1.168 MB / 0.5919 GB Notification: Performance of SimCode: time 2.21e-07/0.8159, allocations: 3.938 kB / 0.8871 GB, free: 1.164 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03533/0.8512, allocations: 11.6 MB / 0.8984 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.198/8.049, allocations: 7.688 kB / 0.8985 GB, free: 7.434 MB / 0.6075 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1)