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.001296/0.001296, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 193 kB / 16.53 MB, free: 6.664 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.303/1.303, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.1148/0.1148, allocations: 4.639 MB / 295 MB, free: 3.152 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 67.89 kB / 356.7 MB, free: 2.43 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0736/0.07486, allocations: 50.5 MB / 407.2 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_Inputs_defined): time 0.003611/0.0785, allocations: 2.867 MB / 410 MB, free: 12.99 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001035/0.07955, allocations: 0.67 MB / 410.7 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001682/0.07974, allocations: 4 kB / 410.7 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001405/0.07988, allocations: 47.45 kB / 410.7 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001773/0.08008, allocations: 91.2 kB / 410.8 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002825/0.08037, allocations: 103.8 kB / 410.9 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003696/0.08075, allocations: 374.6 kB / 411.3 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003/0.08106, allocations: 200.4 kB / 411.5 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001959/0.08126, allocations: 147.5 kB / 411.6 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001858/0.08146, allocations: 147.4 kB / 411.8 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.631e-05/0.08152, allocations: 40 kB / 411.8 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.634e-05/0.08158, allocations: 40 kB / 411.9 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.515e-05/0.08165, allocations: 75.77 kB / 411.9 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001523/0.08181, allocations: 179.2 kB / 412.1 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000327/0.08215, allocations: 391 kB / 412.5 MB, free: 10.51 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.08216, allocations: 0 / 412.5 MB, free: 10.51 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.08216, allocations: 0 / 412.5 MB, free: 10.51 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.415e-06/0.08218, allocations: 0 / 412.5 MB, free: 10.51 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.001037/0.08322, allocations: 0.6332 MB / 413.1 MB, free: 9.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.146e-05/0.08326, allocations: 8.031 kB / 413.1 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.07e-05/0.08332, allocations: 62.72 kB / 413.2 MB, free: 9.742 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.531e-05/0.08339, allocations: 32.56 kB / 413.2 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002453/0.08365, allocations: 268.7 kB / 413.5 MB, free: 9.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.155e-05/0.08367, allocations: 16.94 kB / 413.5 MB, free: 9.395 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.544e-05/0.08373, allocations: 28.38 kB / 413.5 MB, free: 9.367 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005651/0.0843, allocations: 315.7 kB / 413.8 MB, free: 9.047 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.08432, allocations: 0 / 413.8 MB, free: 9.047 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.648e-05/0.08435, allocations: 8 kB / 413.9 MB, free: 9.039 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.08436, allocations: 8 kB / 413.9 MB, free: 9.031 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005805/0.08495, allocations: 238.1 kB / 414.1 MB, free: 8.801 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001305/0.08626, allocations: 1.013 MB / 415.1 MB, free: 7.719 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006606/0.08693, allocations: 286.6 kB / 415.4 MB, free: 7.43 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002987/0.08724, allocations: 144.7 kB / 415.5 MB, free: 7.285 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.409e-05/0.08728, allocations: 4 kB / 415.5 MB, free: 7.281 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000352/0.08764, allocations: 184.4 kB / 415.7 MB, free: 7.09 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.613e-06/0.08765, allocations: 0 / 415.7 MB, free: 7.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.0008776/0.08853, allocations: 375.1 kB / 416.1 MB, free: 6.719 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.887e-05/0.08858, allocations: 59.39 kB / 416.1 MB, free: 6.648 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001738/0.08876, allocations: 216.9 kB / 416.3 MB, free: 6.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.896e-05/0.0888, allocations: 29.7 kB / 416.4 MB, free: 6.395 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.074e-05/0.08889, allocations: 172.1 kB / 416.5 MB, free: 6.223 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.984e-05/0.08896, allocations: 71 kB / 416.6 MB, free: 6.152 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.187e-05/0.08905, allocations: 53.59 kB / 416.7 MB, free: 6.094 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.669e-05/0.08915, allocations: 330.8 kB / 417 MB, free: 5.762 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002801/0.08944, allocations: 115.9 kB / 417.1 MB, free: 5.648 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002834/0.08973, allocations: 147.3 kB / 417.2 MB, free: 5.492 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005605/0.0903, allocations: 282.7 kB / 417.5 MB, free: 5.195 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.09031, allocations: 0 / 417.5 MB, free: 5.195 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006884/0.091, allocations: 361.8 kB / 417.9 MB, free: 4.832 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.083e-05/0.09104, allocations: 29.7 kB / 417.9 MB, free: 4.797 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.09105, allocations: 4 kB / 417.9 MB, free: 4.793 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.09107, allocations: 0 / 417.9 MB, free: 4.793 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000308/0.09138, allocations: 67.89 kB / 418 MB, free: 4.727 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.0914, allocations: 4 kB / 418 MB, free: 4.723 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002045/0.09161, allocations: 35.91 kB / 418 MB, free: 4.688 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.154e-05/0.09164, allocations: 8 kB / 418 MB, free: 4.68 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.0001354/0.09178, allocations: 154 kB / 418.2 MB, free: 4.52 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.604e-05/0.09182, allocations: 27.66 kB / 418.2 MB, free: 4.492 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006643/0.09249, allocations: 296.4 kB / 418.5 MB, free: 4.195 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.09251, allocations: 4 kB / 418.5 MB, free: 4.191 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.09252, allocations: 0 / 418.5 MB, free: 4.191 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.09252, allocations: 3.984 kB / 418.5 MB, free: 4.188 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003147/0.09284, allocations: 369.3 kB / 418.9 MB, free: 3.777 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.09286, allocations: 0 / 418.9 MB, free: 3.777 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003127/0.09317, allocations: 75.77 kB / 418.9 MB, free: 3.703 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.09319, allocations: 0 / 418.9 MB, free: 3.703 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.066e-05/0.09321, allocations: 8 kB / 418.9 MB, free: 3.695 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.09322, allocations: 0 / 418.9 MB, free: 3.695 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.09322, allocations: 3.938 kB / 418.9 MB, free: 3.691 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009022/0.09413, allocations: 452.9 kB / 419.4 MB, free: 3.234 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.503e-05/0.0942, allocations: 100.8 kB / 419.5 MB, free: 3.117 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.727e-05/0.09424, allocations: 8 kB / 419.5 MB, free: 3.109 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000177/0.09442, allocations: 20.03 kB / 419.5 MB, free: 3.09 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.84e-05/0.0945, allocations: 27.97 kB / 419.5 MB, free: 3.062 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.523e-05/0.09452, allocations: 7.938 kB / 419.5 MB, free: 3.055 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001235/0.09465, allocations: 160.5 kB / 419.7 MB, free: 2.895 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.09466, allocations: 0 / 419.7 MB, free: 2.895 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002626/0.09493, allocations: 71.75 kB / 419.8 MB, free: 2.824 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.001111/0.09604, allocations: 0.9826 MB / 420.8 MB, free: 1.816 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000668/0.09672, allocations: 335.2 kB / 421.1 MB, free: 1.477 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.09674, allocations: 0 / 421.1 MB, free: 1.477 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002838/0.09702, allocations: 131.8 kB / 421.2 MB, free: 1.348 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002801/0.09731, allocations: 44.77 kB / 421.3 MB, free: 1.309 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1242/0.2215, allocations: 2.792 MB / 424 MB, free: 47.42 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000175/0.2217, allocations: 0.761 MB / 424.8 MB, free: 46.72 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001478/0.2219, allocations: 29.72 kB / 424.8 MB, free: 46.72 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000152/0.222, allocations: 84.42 kB / 424.9 MB, free: 46.71 MB / 350.1 MB Notification: Performance of SimCode: time 8.01e-07/0.222, allocations: 0 / 424.9 MB, free: 46.71 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.041/1.263, allocations: 5.138 MB / 430.1 MB, free: 46.3 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/12.25, allocations: 9.062 kB / 430.1 MB, free: 46.3 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)