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.005239/0.005239, allocations: 99.11 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.001419/0.001419, allocations: 193.5 kB / 16.67 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.318/1.318, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002405/0.002405, allocations: 275.1 kB / 290.8 MB, free: 1.906 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9537/0.9537, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00282/0.00282, allocations: 95.92 kB / 0.681 GB, free: 15.96 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1649/0.1677, allocations: 86.97 MB / 0.7659 GB, free: 8.91 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.5053/0.673, allocations: 179.4 MB / 0.9411 GB, free: 15.7 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.008801/0.6819, allocations: 7.831 MB / 0.9488 GB, free: 7.844 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004427/0.6824, allocations: 19.88 kB / 0.9488 GB, free: 7.824 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0006037/0.683, allocations: 238.2 kB / 0.949 GB, free: 7.59 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.002646/0.6857, allocations: 1.221 MB / 0.9502 GB, free: 6.363 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001571/0.6872, allocations: 0.7319 MB / 0.9509 GB, free: 5.633 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.001104/0.6884, allocations: 1.076 MB / 0.952 GB, free: 4.555 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005298/0.6889, allocations: 412.7 kB / 0.9524 GB, free: 4.152 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002105/0.691, allocations: 0.835 MB / 0.9532 GB, free: 3.336 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007453/0.6918, allocations: 434.5 kB / 0.9536 GB, free: 2.91 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 6.321e-05/0.6918, allocations: 40 kB / 0.9536 GB, free: 2.871 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001523/0.6934, allocations: 0.9432 MB / 0.9545 GB, free: 1.926 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0001636/0.6935, allocations: 163.5 kB / 0.9547 GB, free: 1.766 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0002399/0.6938, allocations: 250.8 kB / 0.9549 GB, free: 1.52 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.001271/0.6951, allocations: 0.9492 MB / 0.9559 GB, free: 0.5703 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.6951, allocations: 0 / 0.9559 GB, free: 0.5703 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.072e-06/0.6951, allocations: 0 / 0.9559 GB, free: 0.5703 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 8.225e-06/0.6951, allocations: 4 kB / 0.9559 GB, free: 0.5664 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.001112/0.6962, allocations: 0.8173 MB / 0.9567 GB, free: 15.7 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.6963, allocations: 8.031 kB / 0.9567 GB, free: 15.69 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.891e-05/0.6963, allocations: 74.53 kB / 0.9567 GB, free: 15.61 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008645/0.6972, allocations: 155.5 kB / 0.9569 GB, free: 15.46 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00057/0.6978, allocations: 407.6 kB / 0.9573 GB, free: 15.01 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.012e-05/0.6978, allocations: 29 kB / 0.9573 GB, free: 14.98 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.652e-05/0.6979, allocations: 36 kB / 0.9573 GB, free: 14.95 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006889/0.6986, allocations: 454.4 kB / 0.9578 GB, free: 14.48 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.6986, allocations: 3.984 kB / 0.9578 GB, free: 14.48 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.323e-05/0.6987, allocations: 19.94 kB / 0.9578 GB, free: 14.46 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.107e-05/0.6987, allocations: 8 kB / 0.9578 GB, free: 14.45 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005916/0.6993, allocations: 323.7 kB / 0.9581 GB, free: 14.13 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.00209/0.7014, allocations: 2.012 MB / 0.9601 GB, free: 11.95 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003967/0.7018, allocations: 238.4 kB / 0.9603 GB, free: 11.7 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002596/0.702, allocations: 159.5 kB / 0.9605 GB, free: 11.55 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005601/0.7026, allocations: 303.2 kB / 0.9607 GB, free: 11.2 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.7027, allocations: 38.56 kB / 0.9608 GB, free: 11.15 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=24): time 1.593e-06/0.7027, allocations: 4 kB / 0.9608 GB, free: 11.14 MB / 0.7169 GB Notification: Performance of matching and sorting (n=24): time 0.001001/0.7037, allocations: 459 kB / 0.9612 GB, free: 10.69 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.492e-05/0.7037, allocations: 55.41 kB / 0.9613 GB, free: 10.62 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00041/0.7041, allocations: 394 kB / 0.9617 GB, free: 10.23 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.759e-05/0.7042, allocations: 29.7 kB / 0.9617 GB, free: 10.2 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001779/0.7044, allocations: 240.5 kB / 0.9619 GB, free: 9.961 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.373e-05/0.7044, allocations: 83.22 kB / 0.962 GB, free: 9.879 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.7045, allocations: 65.62 kB / 0.9621 GB, free: 9.809 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001608/0.7047, allocations: 354.7 kB / 0.9624 GB, free: 9.453 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002207/0.7049, allocations: 107.9 kB / 0.9625 GB, free: 9.348 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002979/0.7052, allocations: 183.3 kB / 0.9627 GB, free: 9.145 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004986/0.7058, allocations: 312.7 kB / 0.963 GB, free: 8.816 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.7058, allocations: 0 / 0.963 GB, free: 8.816 MB / 0.7169 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006203/0.7064, allocations: 364.8 kB / 0.9633 GB, free: 8.457 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.7064, allocations: 8.031 kB / 0.9633 GB, free: 8.449 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.7064, allocations: 4 kB / 0.9633 GB, free: 8.445 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.7064, allocations: 4 kB / 0.9633 GB, free: 8.441 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002562/0.7067, allocations: 55.91 kB / 0.9634 GB, free: 8.387 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.7067, allocations: 4 kB / 0.9634 GB, free: 8.383 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002209/0.707, allocations: 39.72 kB / 0.9634 GB, free: 8.344 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.367e-05/0.707, allocations: 12 kB / 0.9634 GB, free: 8.332 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.0001817/0.7072, allocations: 170.3 kB / 0.9636 GB, free: 8.156 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.673e-05/0.7073, allocations: 47.72 kB / 0.9636 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007218/0.708, allocations: 371.8 kB / 0.964 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.666e-06/0.708, allocations: 0 / 0.964 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.708, allocations: 0 / 0.964 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.708, allocations: 0 / 0.964 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001459/0.7095, allocations: 0.9487 MB / 0.9649 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.7095, allocations: 0 / 0.9649 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002367/0.7097, allocations: 47.91 kB / 0.965 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.666e-06/0.7098, allocations: 12.16 kB / 0.965 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.285e-05/0.7098, allocations: 8 kB / 0.965 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.7098, allocations: 4 kB / 0.965 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.7098, allocations: 0 / 0.965 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009522/0.7108, allocations: 0.6326 MB / 0.9656 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000171/0.7109, allocations: 153.6 kB / 0.9658 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.391e-05/0.711, allocations: 11.98 kB / 0.9658 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002101/0.7112, allocations: 12 kB / 0.9658 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.035e-05/0.7113, allocations: 20.03 kB / 0.9658 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.055e-05/0.7113, allocations: 12 kB / 0.9658 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002896/0.7116, allocations: 279.1 kB / 0.9661 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7116, allocations: 4 kB / 0.9661 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004303/0.712, allocations: 107.8 kB / 0.9662 GB, free: 5.375 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.001561/0.7136, allocations: 1.259 MB / 0.9674 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0005707/0.7142, allocations: 291.9 kB / 0.9677 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.7142, allocations: 0 / 0.9677 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002671/0.7145, allocations: 147.8 kB / 0.9678 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000993/0.7155, allocations: 219.2 kB / 0.968 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004776/0.7203, allocations: 3.808 MB / 0.9718 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004597/0.7207, allocations: 0.8311 MB / 0.9726 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003167/0.7211, allocations: 91.41 kB / 0.9727 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002084/0.7213, allocations: 147.3 kB / 0.9728 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of SimCode: time 5e-07/0.7213, allocations: 0 / 0.9728 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0372/0.7585, allocations: 11.72 MB / 0.9842 GB, free: 2.969 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.939/8.697, allocations: 10.91 kB / 0.9843 GB, free: 2.961 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1)