Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.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/FastBuildings master/package.mo", uses=false) Using package FastBuildings with version 0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings 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(FastBuildings.Examples.SingleZone_Inputs_defined,fileNamePrefix="FastBuildings_FastBuildings_Examples_SingleZone_Inputs_defined",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(FastBuildings.Examples.SingleZone_Inputs_defined,fileNamePrefix="FastBuildings_FastBuildings_Examples_SingleZone_Inputs_defined",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.0008354/0.000836, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005299/0.005299, allocations: 170 kB / 16.26 MB, free: 6.613 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.292/1.292, allocations: 223.2 MB / 240.3 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 1.509/1.509, allocations: 4.622 MB / 296 MB, free: 4.09 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003205/0.0003206, allocations: 4 kB / 358.4 MB, free: 2.098 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09835/0.0987, allocations: 51.49 MB / 409.9 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_Inputs_defined): time 0.002987/0.1017, allocations: 2.643 MB / 412.5 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00105/0.1028, allocations: 0.6662 MB / 413.2 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000103/0.1029, allocations: 4 kB / 413.2 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001206/0.1031, allocations: 39.7 kB / 413.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001521/0.1032, allocations: 63.41 kB / 413.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002631/0.1035, allocations: 87.92 kB / 413.4 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003704/0.1039, allocations: 362.5 kB / 413.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002892/0.1042, allocations: 164.9 kB / 413.9 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001646/0.1043, allocations: 111.5 kB / 414 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001665/0.1045, allocations: 127.4 kB / 414.1 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.812e-05/0.1046, allocations: 16 kB / 414.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.802e-05/0.1046, allocations: 16 kB / 414.2 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.807e-05/0.1047, allocations: 51.77 kB / 414.2 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001431/0.1048, allocations: 164.9 kB / 414.4 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003029/0.1051, allocations: 367 kB / 414.7 MB, free: 9.672 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1051, allocations: 3.938 kB / 414.7 MB, free: 9.668 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.058e-06/0.1052, allocations: 0 / 414.7 MB, free: 9.668 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.1052, allocations: 7.938 kB / 414.7 MB, free: 9.66 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001018/0.1062, allocations: 0.5826 MB / 415.3 MB, free: 9.023 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.1062, allocations: 8.031 kB / 415.3 MB, free: 9.016 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.419e-05/0.1063, allocations: 66.72 kB / 415.4 MB, free: 8.941 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.548e-05/0.1064, allocations: 36.56 kB / 415.4 MB, free: 8.906 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002722/0.1067, allocations: 264.6 kB / 415.7 MB, free: 8.605 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.274e-05/0.1067, allocations: 24.92 kB / 415.7 MB, free: 8.582 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.077e-05/0.1068, allocations: 28.36 kB / 415.7 MB, free: 8.555 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006236/0.1074, allocations: 323.7 kB / 416.1 MB, free: 8.227 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.1074, allocations: 0 / 416.1 MB, free: 8.227 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.735e-05/0.1074, allocations: 12 kB / 416.1 MB, free: 8.215 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.1075, allocations: 11.98 kB / 416.1 MB, free: 8.203 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006497/0.1081, allocations: 262.1 kB / 416.3 MB, free: 7.949 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001355/0.1095, allocations: 1.006 MB / 417.3 MB, free: 6.875 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007014/0.1102, allocations: 302.6 kB / 417.6 MB, free: 6.57 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003366/0.1105, allocations: 156.8 kB / 417.8 MB, free: 6.414 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.629e-05/0.1106, allocations: 4 kB / 417.8 MB, free: 6.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003949/0.111, allocations: 185.9 kB / 418 MB, free: 6.219 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.603e-06/0.111, allocations: 7.875 kB / 418 MB, free: 6.211 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009917/0.112, allocations: 421.4 kB / 418.4 MB, free: 5.793 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.3e-05/0.112, allocations: 55.41 kB / 418.4 MB, free: 5.727 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001954/0.1122, allocations: 217 kB / 418.7 MB, free: 5.508 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.318e-05/0.1123, allocations: 29.7 kB / 418.7 MB, free: 5.473 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.1124, allocations: 168.1 kB / 418.9 MB, free: 5.305 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.174e-05/0.1125, allocations: 74.91 kB / 418.9 MB, free: 5.23 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.763e-05/0.1125, allocations: 25.72 kB / 419 MB, free: 5.199 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.1126, allocations: 334.8 kB / 419.3 MB, free: 4.863 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003122/0.113, allocations: 127.9 kB / 419.4 MB, free: 4.738 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003204/0.1133, allocations: 155.3 kB / 419.6 MB, free: 4.574 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006236/0.1139, allocations: 305.9 kB / 419.9 MB, free: 4.254 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1139, allocations: 0 / 419.9 MB, free: 4.254 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007611/0.1147, allocations: 385.9 kB / 420.2 MB, free: 3.867 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.533e-05/0.1147, allocations: 36.05 kB / 420.3 MB, free: 3.828 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.1148, allocations: 7.984 kB / 420.3 MB, free: 3.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.1148, allocations: 0 / 420.3 MB, free: 3.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003207/0.1151, allocations: 71.95 kB / 420.3 MB, free: 3.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.1151, allocations: 7.938 kB / 420.4 MB, free: 3.742 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002569/0.1154, allocations: 43.81 kB / 420.4 MB, free: 3.699 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.631e-05/0.1154, allocations: 15.98 kB / 420.4 MB, free: 3.684 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (powElePul.count,$PRE.powElePul.count,powElePul.T_start,$PRE.powElePul.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 1 * 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.0001508/0.1156, allocations: 150 kB / 420.6 MB, free: 3.527 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.799e-05/0.1156, allocations: 23.66 kB / 420.6 MB, free: 3.504 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007659/0.1164, allocations: 328.6 kB / 420.9 MB, free: 3.176 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.1164, allocations: 0 / 420.9 MB, free: 3.176 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.1164, allocations: 0 / 420.9 MB, free: 3.176 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.1164, allocations: 4 kB / 420.9 MB, free: 3.172 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003636/0.1168, allocations: 377.3 kB / 421.3 MB, free: 2.754 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1168, allocations: 0 / 421.3 MB, free: 2.754 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003222/0.1171, allocations: 71.83 kB / 421.3 MB, free: 2.684 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.1171, allocations: 0 / 421.3 MB, free: 2.684 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.776e-05/0.1172, allocations: 8 kB / 421.4 MB, free: 2.676 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.1172, allocations: 0 / 421.4 MB, free: 2.676 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.1172, allocations: 0 / 421.4 MB, free: 2.676 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009893/0.1182, allocations: 494 kB / 421.8 MB, free: 2.176 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.88e-05/0.1182, allocations: 104.7 kB / 421.9 MB, free: 2.055 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.556e-05/0.1183, allocations: 7.984 kB / 421.9 MB, free: 2.047 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002086/0.1185, allocations: 32.05 kB / 422 MB, free: 2.016 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.039e-05/0.1186, allocations: 23.95 kB / 422 MB, free: 1.992 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.622e-05/0.1186, allocations: 4 kB / 422 MB, free: 1.988 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001312/0.1187, allocations: 164.4 kB / 422.2 MB, free: 1.824 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1187, allocations: 0 / 422.2 MB, free: 1.824 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00028/0.119, allocations: 67.84 kB / 422.2 MB, free: 1.758 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (bui.zon.capZon.heaPor.T,bui.zon.capInt.heaPor.T) * Number of discrete variables: 3 ($whenCondition1,powElePul.T_start,powElePul.count) * Number of discrete states: 1 (powElePul.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001354/0.1204, allocations: 1.021 MB / 423.3 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007374/0.1211, allocations: 343.2 kB / 423.6 MB, free: 372 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.1212, allocations: 4.188 kB / 423.6 MB, free: 368 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003231/0.1215, allocations: 143.8 kB / 423.7 MB, free: 224 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003106/0.1218, allocations: 33.97 kB / 423.8 MB, free: 192 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1725/0.2943, allocations: 2.991 MB / 426.8 MB, free: 44.04 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001532/0.2945, allocations: 0.7617 MB / 427.5 MB, free: 43.34 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001314/0.2946, allocations: 29.67 kB / 427.5 MB, free: 43.34 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001176/0.2948, allocations: 78.31 kB / 427.6 MB, free: 43.34 MB / 350.1 MB Notification: Performance of SimCode: time 6.11e-07/0.2948, allocations: 4 kB / 427.6 MB, free: 43.33 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1348/0.4296, allocations: 4.702 MB / 432.3 MB, free: 43.05 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001844/0.4298, allocations: 206.8 kB / 432.5 MB, free: 42.8 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.796/2.226, allocations: 0 / 432.5 MB, free: 42.8 MB / 350.1 MB (rm -f FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe ; mkfifo FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe >> ../files/FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_FastBuildings_FastBuildings_Examples_SingleZone_Inputs_defined_fmu --startTime=0 --stopTime=604800 --timeout=50 --tolerance=1e-06 FastBuildings_FastBuildings_Examples_SingleZone_Inputs_defined.fmu > FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe 2>&1)