Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEntropy.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.6.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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.SpecificEntropy,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_SpecificEntropy",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.00631/0.006315, allocations: 99.36 kB / 15.73 MB, free: 6.449 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.001649/0.001649, allocations: 197.3 kB / 16.68 MB, free: 6.352 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.447/1.447, allocations: 222.9 MB / 240.4 MB, free: 4.273 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo): time 1.003/1.003, allocations: 143.3 MB / 433.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001851/0.001851, allocations: 67.89 kB / 0.5953 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3891/0.391, allocations: 82.02 MB / 0.6754 GB, free: 0.9375 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEntropy): time 0.1982/0.5892, allocations: 163.3 MB / 0.8349 GB, free: 2.27 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00617/0.5954, allocations: 4.582 MB / 0.8393 GB, free: 13.68 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003897/0.5959, allocations: 11.94 kB / 0.8394 GB, free: 13.67 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0004648/0.5964, allocations: 127 kB / 0.8395 GB, free: 13.54 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001425/0.5978, allocations: 0.5367 MB / 0.84 GB, free: 13 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001931/0.5998, allocations: 0.7669 MB / 0.8408 GB, free: 12.24 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0007754/0.6006, allocations: 0.5768 MB / 0.8413 GB, free: 11.66 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003826/0.601, allocations: 218 kB / 0.8415 GB, free: 11.45 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001003/0.602, allocations: 466.2 kB / 0.842 GB, free: 10.99 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000595/0.6026, allocations: 294.8 kB / 0.8422 GB, free: 10.7 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 4.366e-05/0.6026, allocations: 20 kB / 0.8423 GB, free: 10.68 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001818/0.6045, allocations: 0.9977 MB / 0.8432 GB, free: 9.68 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.000121/0.6046, allocations: 83.78 kB / 0.8433 GB, free: 9.598 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.000147/0.6047, allocations: 127.4 kB / 0.8434 GB, free: 9.473 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001212/0.606, allocations: 0.7369 MB / 0.8442 GB, free: 8.738 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.606, allocations: 0 / 0.8442 GB, free: 8.738 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.044e-06/0.606, allocations: 0 / 0.8442 GB, free: 8.738 MB / 0.67 GB Notification: Performance of Transformations before backend: time 7.484e-06/0.606, allocations: 3.938 kB / 0.8442 GB, free: 8.734 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.001002/0.607, allocations: 0.6067 MB / 0.8448 GB, free: 8.078 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.6071, allocations: 12.03 kB / 0.8448 GB, free: 8.066 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.879e-05/0.6071, allocations: 54.48 kB / 0.8448 GB, free: 8.004 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006491/0.6078, allocations: 79.69 kB / 0.8449 GB, free: 7.926 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004287/0.6082, allocations: 299.5 kB / 0.8452 GB, free: 7.594 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.141e-05/0.6083, allocations: 12 kB / 0.8452 GB, free: 7.582 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.519e-05/0.6083, allocations: 20 kB / 0.8452 GB, free: 7.562 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000515/0.6088, allocations: 287.4 kB / 0.8455 GB, free: 7.254 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.6089, allocations: 3.984 kB / 0.8455 GB, free: 7.25 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.548e-05/0.6089, allocations: 11.94 kB / 0.8455 GB, free: 7.238 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.555e-06/0.6089, allocations: 4 kB / 0.8455 GB, free: 7.234 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004506/0.6094, allocations: 203.5 kB / 0.8457 GB, free: 7.035 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001655/0.611, allocations: 1.246 MB / 0.8469 GB, free: 5.711 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003109/0.6113, allocations: 173 kB / 0.8471 GB, free: 5.496 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002143/0.6116, allocations: 116.4 kB / 0.8472 GB, free: 5.367 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007652/0.6123, allocations: 331.2 kB / 0.8475 GB, free: 4.988 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.716e-05/0.6124, allocations: 38.55 kB / 0.8475 GB, free: 4.941 MB / 0.67 GB Notification: Performance of pre-optimization done (n=13): time 1.884e-06/0.6124, allocations: 0 / 0.8475 GB, free: 4.941 MB / 0.67 GB Notification: Performance of matching and sorting (n=13): time 0.0008228/0.6132, allocations: 281.7 kB / 0.8478 GB, free: 4.66 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000103/0.6133, allocations: 158.2 kB / 0.848 GB, free: 4.469 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003193/0.6137, allocations: 287 kB / 0.8482 GB, free: 4.188 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.625e-05/0.6137, allocations: 29.7 kB / 0.8483 GB, free: 4.152 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001326/0.6138, allocations: 155.9 kB / 0.8484 GB, free: 3.996 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 4.723e-05/0.6139, allocations: 43.59 kB / 0.8485 GB, free: 3.953 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.336e-05/0.614, allocations: 41.7 kB / 0.8485 GB, free: 3.906 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001721/0.6142, allocations: 346.8 kB / 0.8488 GB, free: 3.559 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001712/0.6143, allocations: 63.95 kB / 0.8489 GB, free: 3.496 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002703/0.6146, allocations: 144.4 kB / 0.849 GB, free: 3.324 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004088/0.615, allocations: 215.4 kB / 0.8492 GB, free: 3.086 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.6151, allocations: 4.375 kB / 0.8492 GB, free: 3.082 MB / 0.67 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005392/0.6156, allocations: 237.2 kB / 0.8495 GB, free: 2.844 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.6156, allocations: 8.25 kB / 0.8495 GB, free: 2.836 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.6156, allocations: 4 kB / 0.8495 GB, free: 2.832 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/0.6157, allocations: 7.938 kB / 0.8495 GB, free: 2.824 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000199/0.6159, allocations: 39.91 kB / 0.8495 GB, free: 2.785 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.6159, allocations: 4 kB / 0.8495 GB, free: 2.781 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001987/0.6161, allocations: 39.7 kB / 0.8496 GB, free: 2.742 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.322e-05/0.6161, allocations: 8 kB / 0.8496 GB, free: 2.734 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (18): * Single equations (assignments): 18 * 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.0001665/0.6163, allocations: 150.4 kB / 0.8497 GB, free: 2.578 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001464/0.6165, allocations: 27.84 kB / 0.8497 GB, free: 2.551 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005062/0.617, allocations: 193.8 kB / 0.8499 GB, free: 2.344 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.617, allocations: 4 kB / 0.8499 GB, free: 2.34 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.617, allocations: 4 kB / 0.8499 GB, free: 2.336 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.617, allocations: 3.938 kB / 0.8499 GB, free: 2.332 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001068/0.6181, allocations: 0.8472 MB / 0.8508 GB, free: 1.41 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.6181, allocations: 4 kB / 0.8508 GB, free: 1.406 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001216/0.6182, allocations: 27.86 kB / 0.8508 GB, free: 1.379 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.296e-06/0.6182, allocations: 7.984 kB / 0.8508 GB, free: 1.371 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.6183, allocations: 0 / 0.8508 GB, free: 1.371 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.201e-06/0.6183, allocations: 4 kB / 0.8508 GB, free: 1.367 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.6183, allocations: 0 / 0.8508 GB, free: 1.367 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006267/0.6189, allocations: 343.7 kB / 0.8511 GB, free: 1 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/0.619, allocations: 112.9 kB / 0.8512 GB, free: 0.8711 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.87e-05/0.6191, allocations: 8.062 kB / 0.8512 GB, free: 0.8633 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001532/0.6192, allocations: 11.98 kB / 0.8513 GB, free: 0.8516 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.016e-05/0.6193, allocations: 11.94 kB / 0.8513 GB, free: 0.8398 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/0.6193, allocations: 7.984 kB / 0.8513 GB, free: 0.832 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0002808/0.6196, allocations: 233.9 kB / 0.8515 GB, free: 0.6016 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6196, allocations: 0 / 0.8515 GB, free: 0.6016 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0005124/0.6201, allocations: 95.81 kB / 0.8516 GB, free: 0.5078 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.s) * 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 (10): * Single equations (assignments): 10 * 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.001506/0.6216, allocations: 1.004 MB / 0.8526 GB, free: 15.47 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0004528/0.6221, allocations: 159.8 kB / 0.8527 GB, free: 15.32 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.6221, allocations: 4 kB / 0.8527 GB, free: 15.31 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0001581/0.6223, allocations: 60.02 kB / 0.8528 GB, free: 15.25 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000787/0.6231, allocations: 124.2 kB / 0.8529 GB, free: 15.14 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003943/0.627, allocations: 2.766 MB / 0.8556 GB, free: 12.21 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004987/0.6275, allocations: 0.7636 MB / 0.8564 GB, free: 11.42 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0002205/0.6278, allocations: 63.03 kB / 0.8564 GB, free: 11.36 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001303/0.6279, allocations: 79.34 kB / 0.8565 GB, free: 11.29 MB / 0.6856 GB Notification: Performance of SimCode: time 4.61e-07/0.6279, allocations: 0 / 0.8565 GB, free: 11.29 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03462/0.6625, allocations: 8.666 MB / 0.865 GB, free: 2.797 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.133/8.796, allocations: 18.53 kB / 0.865 GB, free: 2.785 MB / 0.6856 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEntropy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_SpecificEntropy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_SpecificEntropy.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)