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.005008/0.005007, allocations: 98.67 kB / 15.73 MB, free: 6.039 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.001194/0.001194, allocations: 202.7 kB / 16.68 MB, free: 5.965 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.251/1.251, 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/NcDataReader2 2.5.1-master/package.mo): time 0.002099/0.002099, allocations: 286.1 kB / 290.8 MB, free: 1.922 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9012/0.9012, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001685/0.001685, allocations: 100.2 kB / 0.681 GB, free: 15.96 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1683/0.17, allocations: 86.98 MB / 0.7659 GB, free: 8.918 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.5552/0.7252, allocations: 179.4 MB / 0.9411 GB, free: 15.66 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.009209/0.7344, allocations: 7.831 MB / 0.9487 GB, free: 7.809 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007695/0.7352, allocations: 19.88 kB / 0.9488 GB, free: 7.789 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0008313/0.7361, allocations: 238.2 kB / 0.949 GB, free: 7.555 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.003255/0.7394, allocations: 1.225 MB / 0.9502 GB, free: 6.324 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.002141/0.7416, allocations: 0.7363 MB / 0.9509 GB, free: 5.59 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.001573/0.7432, allocations: 1.076 MB / 0.952 GB, free: 4.512 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007384/0.7439, allocations: 401.9 kB / 0.9523 GB, free: 4.117 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002547/0.7465, allocations: 0.8369 MB / 0.9532 GB, free: 3.289 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008047/0.7473, allocations: 434.5 kB / 0.9536 GB, free: 2.863 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 8.124e-05/0.7474, allocations: 36 kB / 0.9536 GB, free: 2.828 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001879/0.7493, allocations: 0.951 MB / 0.9545 GB, free: 1.875 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0002092/0.7495, allocations: 159.5 kB / 0.9547 GB, free: 1.719 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0003864/0.7499, allocations: 250.7 kB / 0.9549 GB, free: 1.473 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.002004/0.7519, allocations: 0.9388 MB / 0.9558 GB, free: 0.5312 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.7519, allocations: 0 / 0.9558 GB, free: 0.5312 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.463e-06/0.7519, allocations: 0 / 0.9558 GB, free: 0.5312 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 2.38e-05/0.752, allocations: 0 / 0.9558 GB, free: 0.5312 MB / 0.7012 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.001232/0.7532, allocations: 0.8065 MB / 0.9566 GB, free: 15.68 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.7532, allocations: 8.031 kB / 0.9566 GB, free: 15.67 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.308e-05/0.7533, allocations: 71.72 kB / 0.9567 GB, free: 15.59 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009399/0.7543, allocations: 167.1 kB / 0.9569 GB, free: 15.43 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006121/0.7549, allocations: 399.3 kB / 0.9572 GB, free: 14.99 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.904e-05/0.7549, allocations: 29 kB / 0.9573 GB, free: 14.96 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.736e-05/0.755, allocations: 40 kB / 0.9573 GB, free: 14.92 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006827/0.7557, allocations: 447.6 kB / 0.9577 GB, free: 14.46 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.7557, allocations: 0 / 0.9577 GB, free: 14.46 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.324e-05/0.7558, allocations: 19.94 kB / 0.9578 GB, free: 14.45 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.7558, allocations: 12 kB / 0.9578 GB, free: 14.43 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005562/0.7563, allocations: 323.7 kB / 0.9581 GB, free: 14.11 MB / 0.7169 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.002027/0.7584, allocations: 2.012 MB / 0.96 GB, free: 11.93 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003736/0.7588, allocations: 238.4 kB / 0.9603 GB, free: 11.68 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002461/0.759, allocations: 151.3 kB / 0.9604 GB, free: 11.54 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005489/0.7596, allocations: 311.2 kB / 0.9607 GB, free: 11.18 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.071e-05/0.7596, allocations: 34.56 kB / 0.9607 GB, free: 11.13 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=24): time 1.322e-06/0.7596, allocations: 0 / 0.9607 GB, free: 11.13 MB / 0.7169 GB Notification: Performance of matching and sorting (n=24): time 0.0009372/0.7606, allocations: 452.9 kB / 0.9612 GB, free: 10.69 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.017e-05/0.7606, allocations: 63.33 kB / 0.9612 GB, free: 10.61 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000361/0.761, allocations: 398 kB / 0.9616 GB, free: 10.22 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.97e-05/0.761, allocations: 33.7 kB / 0.9617 GB, free: 10.18 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001431/0.7612, allocations: 236.1 kB / 0.9619 GB, free: 9.945 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.903e-05/0.7612, allocations: 82.81 kB / 0.962 GB, free: 9.863 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.635e-05/0.7613, allocations: 61.67 kB / 0.962 GB, free: 9.797 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.7615, allocations: 350.7 kB / 0.9623 GB, free: 9.445 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002071/0.7617, allocations: 111.9 kB / 0.9625 GB, free: 9.336 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002533/0.7619, allocations: 179.3 kB / 0.9626 GB, free: 9.137 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004443/0.7624, allocations: 310.1 kB / 0.9629 GB, free: 8.812 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.7624, allocations: 0 / 0.9629 GB, free: 8.812 MB / 0.7169 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005873/0.763, allocations: 368.8 kB / 0.9633 GB, free: 8.445 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.763, allocations: 8 kB / 0.9633 GB, free: 8.438 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.763, allocations: 0 / 0.9633 GB, free: 8.438 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.763, allocations: 4 kB / 0.9633 GB, free: 8.434 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002626/0.7633, allocations: 59.91 kB / 0.9633 GB, free: 8.375 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.7633, allocations: 4 kB / 0.9633 GB, free: 8.371 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002319/0.7636, allocations: 43.52 kB / 0.9634 GB, free: 8.328 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.93e-05/0.7636, allocations: 12.19 kB / 0.9634 GB, free: 8.316 MB / 0.7169 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.0001608/0.7638, allocations: 174.3 kB / 0.9636 GB, free: 8.137 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.281e-05/0.7638, allocations: 35.53 kB / 0.9636 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006285/0.7645, allocations: 370.1 kB / 0.964 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.68e-06/0.7645, allocations: 4 kB / 0.964 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.7645, allocations: 0 / 0.964 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.7645, allocations: 0 / 0.964 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001279/0.7658, allocations: 0.9431 MB / 0.9649 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.7658, allocations: 4.219 kB / 0.9649 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002473/0.7661, allocations: 47.97 kB / 0.9649 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/0.7661, allocations: 3.938 kB / 0.9649 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.187e-05/0.7661, allocations: 8 kB / 0.9649 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-06/0.7661, allocations: 7.938 kB / 0.9649 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.7661, allocations: 4 kB / 0.9649 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000854/0.767, allocations: 0.6356 MB / 0.9656 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001446/0.7671, allocations: 148.5 kB / 0.9657 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.612e-05/0.7672, allocations: 12.05 kB / 0.9657 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002058/0.7674, allocations: 12 kB / 0.9657 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.088e-05/0.7675, allocations: 19.97 kB / 0.9658 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.701e-05/0.7675, allocations: 8 kB / 0.9658 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002659/0.7678, allocations: 283.1 kB / 0.966 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7678, allocations: 0 / 0.966 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004207/0.7682, allocations: 103.8 kB / 0.9661 GB, free: 5.383 MB / 0.7169 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.001419/0.7696, allocations: 1.261 MB / 0.9674 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0005568/0.7702, allocations: 291.5 kB / 0.9676 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.7702, allocations: 0 / 0.9676 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002534/0.7705, allocations: 149.9 kB / 0.9678 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009795/0.7715, allocations: 220.8 kB / 0.968 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004491/0.776, allocations: 3.796 MB / 0.9717 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003676/0.7763, allocations: 0.8233 MB / 0.9725 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000308/0.7767, allocations: 99.34 kB / 0.9726 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001875/0.7769, allocations: 143.4 kB / 0.9727 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of SimCode: time 5.41e-07/0.7769, allocations: 0 / 0.9727 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03434/0.8112, allocations: 11.89 MB / 0.9843 GB, free: 2.812 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.62/8.431, allocations: 22.66 kB / 0.9844 GB, free: 2.793 MB / 0.7325 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)