Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_EntropyFlowRate",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.0007958/0.0007955, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.0009118/0.000912, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 223.3 MB / 240 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9997/0.9997, allocations: 143.4 MB / 434.4 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004889/0.0004891, allocations: 12 kB / 0.5161 GB, free: 11.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1831/0.1836, allocations: 83.42 MB / 0.5975 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate): time 0.5117/0.6954, allocations: 154 MB / 0.7479 GB, free: 1.391 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007244/0.7027, allocations: 6.647 MB / 0.7544 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003066/0.7031, allocations: 11.94 kB / 0.7544 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000431/0.7035, allocations: 119.1 kB / 0.7545 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001941/0.7054, allocations: 0.8358 MB / 0.7553 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001187/0.7066, allocations: 485.1 kB / 0.7558 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0008081/0.7075, allocations: 0.8928 MB / 0.7567 GB, free: 9.145 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003391/0.7078, allocations: 226.3 kB / 0.7569 GB, free: 8.926 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008535/0.7087, allocations: 478 kB / 0.7573 GB, free: 8.457 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006622/0.7094, allocations: 394.7 kB / 0.7577 GB, free: 8.07 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.572e-05/0.7094, allocations: 12 kB / 0.7577 GB, free: 8.059 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001245/0.7107, allocations: 0.6431 MB / 0.7584 GB, free: 7.414 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001081/0.7108, allocations: 99.67 kB / 0.7585 GB, free: 7.316 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 8.238e-05/0.7109, allocations: 93.52 kB / 0.7585 GB, free: 7.219 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005989/0.7115, allocations: 0.5222 MB / 0.7591 GB, free: 6.695 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.7115, allocations: 0 / 0.7591 GB, free: 6.695 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.473e-06/0.7115, allocations: 0 / 0.7591 GB, free: 6.695 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.7115, allocations: 0 / 0.7591 GB, free: 6.695 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.0008307/0.7123, allocations: 0.6427 MB / 0.7597 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.7124, allocations: 12.03 kB / 0.7597 GB, free: 5.996 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.043e-05/0.7125, allocations: 62.5 kB / 0.7598 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009026/0.7134, allocations: 127.4 kB / 0.7599 GB, free: 5.801 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003697/0.7137, allocations: 313.4 kB / 0.7602 GB, free: 5.457 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.63e-05/0.7138, allocations: 54.25 kB / 0.7602 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.307e-05/0.7139, allocations: 28.44 kB / 0.7603 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005917/0.7145, allocations: 374.2 kB / 0.7606 GB, free: 4.988 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.7145, allocations: 3.938 kB / 0.7606 GB, free: 4.984 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.079e-05/0.7145, allocations: 15.95 kB / 0.7606 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.615e-06/0.7145, allocations: 4 kB / 0.7606 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004924/0.715, allocations: 286 kB / 0.7609 GB, free: 4.684 MB / 0.5762 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.001646/0.7167, allocations: 1.5 MB / 0.7624 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003584/0.7171, allocations: 202.5 kB / 0.7626 GB, free: 2.852 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002038/0.7173, allocations: 124.3 kB / 0.7627 GB, free: 2.73 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009373/0.7182, allocations: 0.5286 MB / 0.7632 GB, free: 2.109 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/0.7183, allocations: 30.56 kB / 0.7632 GB, free: 2.07 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.533e-06/0.7183, allocations: 0 / 0.7632 GB, free: 2.07 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.0009187/0.7192, allocations: 367.1 kB / 0.7636 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.529e-05/0.7193, allocations: 59.34 kB / 0.7636 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003399/0.7196, allocations: 320.4 kB / 0.7639 GB, free: 1.32 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.89e-05/0.7197, allocations: 25.7 kB / 0.764 GB, free: 1.289 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001411/0.7198, allocations: 184.2 kB / 0.7641 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.359e-05/0.7199, allocations: 51.2 kB / 0.7642 GB, free: 1.055 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.504e-05/0.7199, allocations: 8 kB / 0.7642 GB, free: 1.047 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.72, allocations: 334.8 kB / 0.7645 GB, free: 0.7109 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001858/0.7202, allocations: 95.88 kB / 0.7646 GB, free: 0.6172 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002193/0.7204, allocations: 145.9 kB / 0.7647 GB, free: 464 kB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002011/0.7206, allocations: 109.8 kB / 0.7649 GB, free: 356 kB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.7207, allocations: 0 / 0.7649 GB, free: 356 kB / 0.5762 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005457/0.7212, allocations: 301.1 kB / 0.7651 GB, free: 48 kB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.7212, allocations: 8 kB / 0.7651 GB, free: 40 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.7212, allocations: 0.5469 kB / 0.7651 GB, free: 40 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.7213, allocations: 4 kB / 0.7652 GB, free: 36 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000233/0.7215, allocations: 40.03 kB / 0.7652 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.7215, allocations: 7.938 kB / 0.7652 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002042/0.7217, allocations: 35.8 kB / 0.7652 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.338e-05/0.7218, allocations: 12 kB / 0.7652 GB, free: 15.94 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001473/0.7219, allocations: 153.7 kB / 0.7654 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.696e-05/0.722, allocations: 31.62 kB / 0.7654 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00069/0.7227, allocations: 328.2 kB / 0.7657 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.7227, allocations: 8.031 kB / 0.7657 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.85e-06/0.7228, allocations: 3.984 kB / 0.7657 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.7228, allocations: 0 / 0.7657 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001183/0.724, allocations: 0.8163 MB / 0.7665 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.724, allocations: 4.031 kB / 0.7665 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001711/0.7241, allocations: 31.98 kB / 0.7666 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.7242, allocations: 4 kB / 0.7666 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.968e-05/0.7242, allocations: 15.94 kB / 0.7666 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/0.7242, allocations: 7.938 kB / 0.7666 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.656e-06/0.7242, allocations: 0.625 kB / 0.7666 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005402/0.7247, allocations: 423.1 kB / 0.767 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001254/0.7249, allocations: 133.5 kB / 0.7671 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.465e-05/0.7249, allocations: 11.98 kB / 0.7671 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000241/0.7252, allocations: 23.94 kB / 0.7672 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.903e-05/0.7252, allocations: 19.98 kB / 0.7672 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.437e-05/0.7253, allocations: 11.98 kB / 0.7672 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001967/0.7255, allocations: 219.1 kB / 0.7674 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7255, allocations: 0 / 0.7674 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004746/0.726, allocations: 119.8 kB / 0.7675 GB, free: 13.47 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001202/0.7272, allocations: 1.05 MB / 0.7685 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004672/0.7276, allocations: 229.8 kB / 0.7688 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.7277, allocations: 0 / 0.7688 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002224/0.7279, allocations: 120.7 kB / 0.7689 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008122/0.7287, allocations: 165.3 kB / 0.769 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002659/0.7314, allocations: 1.846 MB / 0.7708 GB, free: 9.945 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003655/0.7318, allocations: 0.7876 MB / 0.7716 GB, free: 9.133 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003092/0.7321, allocations: 82.02 kB / 0.7717 GB, free: 9.066 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001602/0.7323, allocations: 107.4 kB / 0.7718 GB, free: 8.961 MB / 0.5919 GB Notification: Performance of SimCode: time 6.71e-07/0.7323, allocations: 0 / 0.7718 GB, free: 8.961 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02108/0.7533, allocations: 9.913 MB / 0.7815 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001989/0.7536, allocations: 238.5 kB / 0.7817 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.837/2.591, allocations: 4.062 kB / 0.7817 GB, free: 15.05 MB / 0.6075 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_EntropyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_EntropyFlowRate.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) Environment - environmentSimulation: