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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 FastBuildings with version 0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.009196/0.009196, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.0193/0.0193, allocations: 4.636 MB / 20.49 MB, free: 1.473 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 223.2 MB / 245.5 MB, free: 12.15 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009187/0.0009188, allocations: 88.36 kB / 297.7 MB, free: 8.898 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003181/0.000318, allocations: 8 kB / 359.8 MB, free: 10.81 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2327/0.233, allocations: 51.48 MB / 411.3 MB, free: 50.14 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08835/0.3214, allocations: 78.9 MB / 490.2 MB, free: 172 kB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001439/0.3216, allocations: 51.98 kB / 490.2 MB, free: 120 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01501/0.3366, allocations: 5.766 MB / 496 MB, free: 10.4 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3367, allocations: 0 / 496 MB, free: 10.4 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.377e-05/0.3367, allocations: 4 kB / 496 MB, free: 10.39 MB / 362.7 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.0009202/0.3376, allocations: 0.5995 MB / 496.6 MB, free: 9.742 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.3377, allocations: 8.031 kB / 496.6 MB, free: 9.734 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.645e-05/0.3378, allocations: 70.47 kB / 496.7 MB, free: 9.656 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.798e-05/0.3378, allocations: 31.62 kB / 496.7 MB, free: 9.625 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002913/0.3381, allocations: 275.4 kB / 497 MB, free: 9.312 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.877e-05/0.3381, allocations: 16.56 kB / 497 MB, free: 9.297 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.513e-05/0.3382, allocations: 20 kB / 497 MB, free: 9.277 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006273/0.3388, allocations: 319.6 kB / 497.3 MB, free: 8.957 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.3389, allocations: 0 / 497.3 MB, free: 8.957 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.122e-05/0.3389, allocations: 15.98 kB / 497.3 MB, free: 8.941 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.3389, allocations: 4 kB / 497.4 MB, free: 8.938 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005954/0.3395, allocations: 262.1 kB / 497.6 MB, free: 8.684 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001406/0.3409, allocations: 1.01 MB / 498.6 MB, free: 7.602 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006864/0.3416, allocations: 291.3 kB / 498.9 MB, free: 7.309 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.883e-05/0.3417, allocations: 8.188 kB / 498.9 MB, free: 7.301 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003755/0.3421, allocations: 181 kB / 499.1 MB, free: 7.113 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 1.673e-06/0.3421, allocations: 0 / 499.1 MB, free: 7.113 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.0009368/0.343, allocations: 412.8 kB / 499.5 MB, free: 6.707 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.493e-05/0.3431, allocations: 59.39 kB / 499.5 MB, free: 6.637 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000173/0.3433, allocations: 196.1 kB / 499.7 MB, free: 6.441 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.932e-05/0.3433, allocations: 29.7 kB / 499.8 MB, free: 6.406 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/0.3434, allocations: 176.1 kB / 499.9 MB, free: 6.23 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.14e-05/0.3435, allocations: 67 kB / 0.4883 GB, free: 6.164 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.649e-05/0.3435, allocations: 4 kB / 0.4883 GB, free: 6.16 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.3436, allocations: 338.8 kB / 0.4886 GB, free: 5.82 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002938/0.3439, allocations: 120.4 kB / 0.4887 GB, free: 5.703 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002908/0.3442, allocations: 152.3 kB / 0.4889 GB, free: 5.543 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003239/0.3446, allocations: 167.7 kB / 0.489 GB, free: 5.371 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.3446, allocations: 3.938 kB / 0.489 GB, free: 5.367 MB / 362.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007539/0.3453, allocations: 381.9 kB / 0.4894 GB, free: 4.984 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.164e-05/0.3454, allocations: 41.69 kB / 0.4894 GB, free: 4.938 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.3454, allocations: 0 / 0.4894 GB, free: 4.938 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.3454, allocations: 4 kB / 0.4894 GB, free: 4.934 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003428/0.3458, allocations: 67.89 kB / 0.4895 GB, free: 4.867 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.3458, allocations: 4 kB / 0.4895 GB, free: 4.863 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002591/0.3461, allocations: 55.69 kB / 0.4896 GB, free: 4.809 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.515e-05/0.3461, allocations: 4 kB / 0.4896 GB, free: 4.805 MB / 362.7 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 ($whenCondition1,$PRE.powElePul.T_start,powElePul.T_start,$PRE.powElePul.count,powElePul.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001919/0.3463, allocations: 157.7 kB / 0.4897 GB, free: 4.641 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.404e-05/0.3463, allocations: 27.66 kB / 0.4897 GB, free: 4.613 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007398/0.3471, allocations: 323.6 kB / 0.4901 GB, free: 4.293 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.3471, allocations: 0 / 0.4901 GB, free: 4.293 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.3471, allocations: 4 kB / 0.4901 GB, free: 4.289 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.3471, allocations: 0 / 0.4901 GB, free: 4.289 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003722/0.3475, allocations: 365.4 kB / 0.4904 GB, free: 3.879 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.085e-06/0.3475, allocations: 3.953 kB / 0.4904 GB, free: 3.875 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003401/0.3478, allocations: 63.89 kB / 0.4905 GB, free: 3.812 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.431e-06/0.3479, allocations: 4 kB / 0.4905 GB, free: 3.809 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.25e-05/0.3479, allocations: 8 kB / 0.4905 GB, free: 3.801 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.3479, allocations: 0 / 0.4905 GB, free: 3.801 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.3479, allocations: 7.984 kB / 0.4905 GB, free: 3.793 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009786/0.3489, allocations: 487 kB / 0.491 GB, free: 3.301 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.419e-05/0.349, allocations: 96.81 kB / 0.4911 GB, free: 3.188 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.462e-05/0.349, allocations: 8 kB / 0.4911 GB, free: 3.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001993/0.3492, allocations: 27.97 kB / 0.4911 GB, free: 3.152 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.713e-05/0.3493, allocations: 31.89 kB / 0.4911 GB, free: 3.121 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.697e-05/0.3493, allocations: 4.062 kB / 0.4911 GB, free: 3.117 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001404/0.3495, allocations: 160.5 kB / 0.4913 GB, free: 2.961 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.513e-06/0.3495, allocations: 0 / 0.4913 GB, free: 2.961 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000302/0.3498, allocations: 79.7 kB / 0.4913 GB, free: 2.883 MB / 362.7 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 (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.001181/0.351, allocations: 1.022 MB / 0.4923 GB, free: 1.836 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006621/0.3517, allocations: 339.2 kB / 0.4927 GB, free: 1.492 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3517, allocations: 0 / 0.4927 GB, free: 1.492 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002992/0.352, allocations: 140 kB / 0.4928 GB, free: 1.355 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002384/0.3522, allocations: 35.25 kB / 0.4928 GB, free: 1.324 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002954/0.3552, allocations: 2.179 MB / 0.495 GB, free: 15.09 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003482/0.3556, allocations: 0.7714 MB / 0.4957 GB, free: 14.29 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001359/0.3557, allocations: 29.53 kB / 0.4957 GB, free: 14.26 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001454/0.3559, allocations: 75.41 kB / 0.4958 GB, free: 14.19 MB / 378.7 MB Notification: Performance of SimCode: time 2.9e-07/0.3559, allocations: 3.938 kB / 0.4958 GB, free: 14.18 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01636/0.3722, allocations: 4.636 MB / 0.5003 GB, free: 9.719 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002056/0.3725, allocations: 182.8 kB / 0.5005 GB, free: 9.473 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.496/1.868, allocations: 0 / 0.5005 GB, free: 9.473 MB / 378.7 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/linux/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)