Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.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.EnthalpyFlowRate,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_EnthalpyFlowRate",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.001113/0.001113, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.00116/0.00116, allocations: 177.3 kB / 15.95 MB, free: 216 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.427/1.427, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.103/1.103, allocations: 143.3 MB / 434.3 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004587/0.0004588, allocations: 16 kB / 0.5159 GB, free: 11.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2114/0.2118, allocations: 83.41 MB / 0.5974 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.4919/0.7038, allocations: 140.3 MB / 0.7344 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008105/0.7119, allocations: 5.267 MB / 0.7396 GB, free: 8.906 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006891/0.7127, allocations: 11.94 kB / 0.7396 GB, free: 8.895 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008879/0.7136, allocations: 185.3 kB / 0.7397 GB, free: 8.762 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002293/0.7159, allocations: 0.5681 MB / 0.7403 GB, free: 8.309 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001376/0.7173, allocations: 357.4 kB / 0.7406 GB, free: 8.035 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0007649/0.7181, allocations: 425.2 kB / 0.741 GB, free: 7.676 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004388/0.7185, allocations: 222.9 kB / 0.7413 GB, free: 7.508 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001149/0.7197, allocations: 430 kB / 0.7417 GB, free: 7.156 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003961/0.7201, allocations: 200.5 kB / 0.7419 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.863e-05/0.7201, allocations: 12 kB / 0.7419 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007468/0.7209, allocations: 199.7 kB / 0.7421 GB, free: 6.816 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001312/0.721, allocations: 94.48 kB / 0.7422 GB, free: 6.746 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.763e-05/0.7211, allocations: 85.52 kB / 0.7422 GB, free: 6.656 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005136/0.7217, allocations: 325 kB / 0.7425 GB, free: 6.477 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.786e-06/0.7217, allocations: 0 / 0.7425 GB, free: 6.477 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.284e-06/0.7217, allocations: 0 / 0.7425 GB, free: 6.477 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.7217, allocations: 0 / 0.7425 GB, free: 6.477 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0009404/0.7226, allocations: 0.5639 MB / 0.7431 GB, free: 5.902 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/0.7227, allocations: 12.03 kB / 0.7431 GB, free: 5.891 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.146e-05/0.7228, allocations: 64.42 kB / 0.7432 GB, free: 5.824 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003461/0.7231, allocations: 60.67 kB / 0.7432 GB, free: 5.773 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004661/0.7236, allocations: 291.6 kB / 0.7435 GB, free: 5.48 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.442e-05/0.7236, allocations: 21.17 kB / 0.7435 GB, free: 5.461 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.826e-05/0.7237, allocations: 28.5 kB / 0.7436 GB, free: 5.434 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000659/0.7244, allocations: 329.4 kB / 0.7439 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.7244, allocations: 0 / 0.7439 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.53e-05/0.7244, allocations: 16 kB / 0.7439 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.099e-05/0.7244, allocations: 11.95 kB / 0.7439 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004443/0.7249, allocations: 205.2 kB / 0.7441 GB, free: 4.938 MB / 0.5606 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.001673/0.7266, allocations: 1.539 MB / 0.7456 GB, free: 3.406 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002753/0.7269, allocations: 128.5 kB / 0.7457 GB, free: 3.289 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004413/0.7273, allocations: 146.4 kB / 0.7459 GB, free: 3.145 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.021e-05/0.7274, allocations: 34.56 kB / 0.7459 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=13): time 1.643e-06/0.7274, allocations: 0 / 0.7459 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13): time 0.000892/0.7283, allocations: 285.3 kB / 0.7462 GB, free: 2.855 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.702e-05/0.7283, allocations: 55.34 kB / 0.7462 GB, free: 2.789 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004143/0.7287, allocations: 311.8 kB / 0.7465 GB, free: 2.52 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.627e-05/0.7288, allocations: 25.7 kB / 0.7465 GB, free: 2.488 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001892/0.729, allocations: 192.4 kB / 0.7467 GB, free: 2.309 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.791e-05/0.729, allocations: 39.41 kB / 0.7468 GB, free: 2.273 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.075e-05/0.729, allocations: 4 kB / 0.7468 GB, free: 2.27 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000185/0.7292, allocations: 339.5 kB / 0.7471 GB, free: 1.938 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002056/0.7294, allocations: 60.19 kB / 0.7471 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002386/0.7297, allocations: 121 kB / 0.7473 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002031/0.7299, allocations: 75.19 kB / 0.7473 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.7299, allocations: 0 / 0.7473 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005237/0.7304, allocations: 228.5 kB / 0.7475 GB, free: 1.504 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.65e-05/0.7305, allocations: 12.73 kB / 0.7476 GB, free: 1.492 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.7305, allocations: 4 kB / 0.7476 GB, free: 1.488 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.7305, allocations: 0 / 0.7476 GB, free: 1.488 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000211/0.7307, allocations: 38.06 kB / 0.7476 GB, free: 1.457 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.7308, allocations: 4 kB / 0.7476 GB, free: 1.453 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000228/0.731, allocations: 43.05 kB / 0.7476 GB, free: 1.418 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.299e-05/0.731, allocations: 13.42 kB / 0.7477 GB, free: 1.406 MB / 0.5606 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 (17): * Single equations (assignments): 17 * 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.0001679/0.7312, allocations: 149.9 kB / 0.7478 GB, free: 1.254 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.029e-05/0.7313, allocations: 27.72 kB / 0.7478 GB, free: 1.227 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00047/0.7318, allocations: 219 kB / 0.748 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.7318, allocations: 0 / 0.748 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.7318, allocations: 3.812 kB / 0.748 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.7318, allocations: 2.625 kB / 0.748 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001256/0.7331, allocations: 0.6971 MB / 0.7487 GB, free: 368 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.7331, allocations: 0 / 0.7487 GB, free: 368 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001412/0.7332, allocations: 31.16 kB / 0.7487 GB, free: 344 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.683e-06/0.7332, allocations: 8 kB / 0.7488 GB, free: 336 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.703e-05/0.7333, allocations: 4 kB / 0.7488 GB, free: 332 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.811e-06/0.7333, allocations: 3.938 kB / 0.7488 GB, free: 328 kB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.7333, allocations: 4 kB / 0.7488 GB, free: 324 kB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000729/0.734, allocations: 428.8 kB / 0.7492 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001339/0.7342, allocations: 122.1 kB / 0.7493 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.045e-05/0.7342, allocations: 4 kB / 0.7493 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001819/0.7344, allocations: 23.89 kB / 0.7493 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.086e-05/0.7345, allocations: 15.08 kB / 0.7493 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.401e-05/0.7345, allocations: 11.94 kB / 0.7493 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002256/0.7347, allocations: 215.7 kB / 0.7496 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.522e-06/0.7347, allocations: 4 kB / 0.7496 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004099/0.7351, allocations: 75.78 kB / 0.7496 GB, free: 15.4 MB / 0.5762 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 (13): * Single equations (assignments): 13 * 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.001332/0.7365, allocations: 1.508 MB / 0.7511 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004124/0.7369, allocations: 160 kB / 0.7513 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.7369, allocations: 4.312 kB / 0.7513 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001974/0.7371, allocations: 92.95 kB / 0.7513 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000801/0.7379, allocations: 131.6 kB / 0.7515 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003007/0.741, allocations: 2.396 MB / 0.7538 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004034/0.7414, allocations: 0.7875 MB / 0.7546 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002289/0.7416, allocations: 64.06 kB / 0.7546 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001305/0.7417, allocations: 91.41 kB / 0.7547 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of SimCode: time 3.01e-07/0.7418, allocations: 3.938 kB / 0.7547 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02285/0.7646, allocations: 7.536 MB / 0.7621 GB, free: 2.969 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001914/0.7649, allocations: 221.1 kB / 0.7623 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.925/2.69, allocations: 4 kB / 0.7623 GB, free: 2.73 MB / 0.5762 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_EnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) Environment - environmentSimulation: