Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(IBPSA.Utilities.IO.Files.Examples.WeeklySchedule,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.IO.Files.Examples.WeeklySchedule,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_WeeklySchedule",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.001224/0.001224, allocations: 107.7 kB / 16.4 MB, free: 6.016 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.001128/0.001128, allocations: 195.8 kB / 17.34 MB, free: 5.609 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.309/1.309, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7678/0.7678, allocations: 122.9 MB / 414.1 MB, free: 15.79 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 59.91 kB / 0.5679 GB, free: 28.9 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1254, allocations: 77.94 MB / 0.644 GB, free: 9.57 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002448/0.1279, allocations: 1.458 MB / 0.6455 GB, free: 8.102 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001433/0.1294, allocations: 1.114 MB / 0.6466 GB, free: 6.98 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.915e-05/0.1295, allocations: 3.938 kB / 0.6466 GB, free: 6.977 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001832/0.1296, allocations: 23.84 kB / 0.6466 GB, free: 6.953 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001863/0.1298, allocations: 43.77 kB / 0.6466 GB, free: 6.91 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001919/0.1301, allocations: 58.8 kB / 0.6467 GB, free: 6.855 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001956/0.1303, allocations: 147.6 kB / 0.6468 GB, free: 6.711 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001492/0.1304, allocations: 61.08 kB / 0.6469 GB, free: 6.652 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001001/0.1305, allocations: 87.64 kB / 0.647 GB, free: 6.566 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001547/0.1307, allocations: 55.77 kB / 0.647 GB, free: 6.512 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.642e-05/0.1307, allocations: 8 kB / 0.647 GB, free: 6.504 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.02e-05/0.1308, allocations: 27.92 kB / 0.647 GB, free: 6.477 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.21e-05/0.1309, allocations: 47.89 kB / 0.6471 GB, free: 6.43 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.064e-05/0.131, allocations: 75.58 kB / 0.6472 GB, free: 6.355 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002766/0.1313, allocations: 207.4 kB / 0.6474 GB, free: 6.152 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.1313, allocations: 0 / 0.6474 GB, free: 6.152 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.1313, allocations: 0 / 0.6474 GB, free: 6.152 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.1313, allocations: 4 kB / 0.6474 GB, free: 6.148 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007107/0.132, allocations: 0.4945 MB / 0.6478 GB, free: 5.605 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.1321, allocations: 8.625 kB / 0.6479 GB, free: 5.598 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.821e-05/0.1321, allocations: 38.75 kB / 0.6479 GB, free: 5.551 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.579e-05/0.1322, allocations: 16.84 kB / 0.6479 GB, free: 5.535 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002993/0.1325, allocations: 260 kB / 0.6482 GB, free: 5.242 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001332/0.1326, allocations: 115.4 kB / 0.6483 GB, free: 5.105 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.637e-05/0.1327, allocations: 12.38 kB / 0.6483 GB, free: 5.094 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003434/0.133, allocations: 161.5 kB / 0.6484 GB, free: 4.93 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.056e-06/0.133, allocations: 0 / 0.6484 GB, free: 4.93 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.261e-05/0.1331, allocations: 0 / 0.6484 GB, free: 4.93 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.843e-05/0.1331, allocations: 15.98 kB / 0.6484 GB, free: 4.914 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.747e-05/0.1332, allocations: 47.84 kB / 0.6485 GB, free: 4.867 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001215/0.1344, allocations: 452.5 kB / 0.6489 GB, free: 4.375 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.416e-05/0.1345, allocations: 38.5 kB / 0.649 GB, free: 4.328 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.857e-05/0.1346, allocations: 24.86 kB / 0.649 GB, free: 4.301 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.981e-05/0.1346, allocations: 7.984 kB / 0.649 GB, free: 4.293 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.883e-05/0.1346, allocations: 38.56 kB / 0.649 GB, free: 4.246 MB / 494.1 MB Notification: Performance of pre-optimization done (n=8): time 1.383e-06/0.1347, allocations: 0 / 0.649 GB, free: 4.246 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002773/0.1349, allocations: 109.7 kB / 0.6491 GB, free: 4.133 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.76e-05/0.135, allocations: 59.28 kB / 0.6492 GB, free: 4.062 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002085/0.1352, allocations: 215.9 kB / 0.6494 GB, free: 3.832 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3e-05/0.1352, allocations: 33.7 kB / 0.6494 GB, free: 3.793 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.158e-05/0.1353, allocations: 124 kB / 0.6495 GB, free: 3.668 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.349e-05/0.1353, allocations: 27.72 kB / 0.6496 GB, free: 3.641 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.55e-05/0.1354, allocations: 29.72 kB / 0.6496 GB, free: 3.605 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.1355, allocations: 330.8 kB / 0.6499 GB, free: 3.273 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.087e-05/0.1356, allocations: 23.98 kB / 0.6499 GB, free: 3.25 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.45e-05/0.1357, allocations: 98.28 kB / 0.65 GB, free: 3.117 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001578/0.1358, allocations: 142.1 kB / 0.6502 GB, free: 2.941 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.1358, allocations: 0 / 0.6502 GB, free: 2.941 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002609/0.1361, allocations: 161.3 kB / 0.6503 GB, free: 2.777 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.1361, allocations: 8 kB / 0.6503 GB, free: 2.77 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.1361, allocations: 4 kB / 0.6503 GB, free: 2.766 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.1362, allocations: 4 kB / 0.6503 GB, free: 2.762 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001041/0.1363, allocations: 19.98 kB / 0.6504 GB, free: 2.742 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/0.1363, allocations: 11.88 kB / 0.6504 GB, free: 2.73 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.591e-05/0.1364, allocations: 11.89 kB / 0.6504 GB, free: 2.719 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.476e-05/0.1364, allocations: 8.344 kB / 0.6504 GB, free: 2.711 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (12): * Single equations (assignments): 12 * 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.0001273/0.1365, allocations: 145.8 kB / 0.6505 GB, free: 2.559 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.759e-05/0.1366, allocations: 15.91 kB / 0.6505 GB, free: 2.543 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000234/0.1368, allocations: 122.9 kB / 0.6507 GB, free: 2.418 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.1368, allocations: 0 / 0.6507 GB, free: 2.418 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/0.1369, allocations: 7.938 kB / 0.6507 GB, free: 2.41 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.1369, allocations: 0 / 0.6507 GB, free: 2.41 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002447/0.1371, allocations: 237.5 kB / 0.6509 GB, free: 2.129 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1371, allocations: 3.938 kB / 0.6509 GB, free: 2.125 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.076e-05/0.1372, allocations: 12 kB / 0.6509 GB, free: 2.113 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.1372, allocations: 7.984 kB / 0.6509 GB, free: 2.105 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.926e-06/0.1372, allocations: 3.984 kB / 0.6509 GB, free: 2.102 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1372, allocations: 0 / 0.6509 GB, free: 2.102 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.1372, allocations: 7.938 kB / 0.6509 GB, free: 2.094 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002006/0.1374, allocations: 187.4 kB / 0.6511 GB, free: 1.895 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.852e-05/0.1375, allocations: 89.02 kB / 0.6512 GB, free: 1.789 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.992e-05/0.1375, allocations: 0 / 0.6512 GB, free: 1.789 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002668/0.1378, allocations: 23.97 kB / 0.6512 GB, free: 1.766 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.101e-05/0.1378, allocations: 7.938 kB / 0.6512 GB, free: 1.758 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.276e-05/0.1378, allocations: 11.98 kB / 0.6512 GB, free: 1.746 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001394/0.138, allocations: 161.5 kB / 0.6514 GB, free: 1.59 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.138, allocations: 0 / 0.6514 GB, free: 1.59 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003135/0.1383, allocations: 35.89 kB / 0.6514 GB, free: 1.555 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (8): * Single equations (assignments): 8 * 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.0005719/0.1389, allocations: 0.7488 MB / 0.6522 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000169/0.1391, allocations: 72.33 kB / 0.6522 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.1391, allocations: 4.25 kB / 0.6522 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.882e-05/0.1391, allocations: 27.98 kB / 0.6523 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003272/0.1394, allocations: 22.2 kB / 0.6523 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001841/0.1413, allocations: 1.916 MB / 0.6541 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002611/0.1416, allocations: 0.7353 MB / 0.6549 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001279/0.1417, allocations: 52.78 kB / 0.6549 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.297e-05/0.1418, allocations: 47.36 kB / 0.655 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of SimCode: time 3e-07/0.1418, allocations: 0 / 0.655 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02959/0.1714, allocations: 4.229 MB / 0.6591 GB, free: 9.617 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.875/8.046, allocations: 7.031 kB / 0.6591 GB, free: 9.613 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule_res.csv --start-time -10000 --stop-time 1e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 404 IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_WeeklySchedule.fmu > IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1)