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: translateModel(FastBuildings.Examples.SingleZone_Inputs_defined,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined") translateModel(FastBuildings.Examples.SingleZone_Inputs_defined,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.009747/0.009747, allocations: 171 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.01877/0.01877, allocations: 4.633 MB / 20.48 MB, free: 1.477 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.379/1.379, allocations: 223.2 MB / 245.5 MB, free: 12.12 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.0008258/0.0008257, allocations: 92.11 kB / 297.7 MB, free: 8.871 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003207/0.0003207, allocations: 7.984 kB / 359.7 MB, free: 10.86 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.264/0.2644, allocations: 51.47 MB / 411.2 MB, free: 50.09 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09826/0.3627, allocations: 78.9 MB / 490.1 MB, free: 152 kB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001701/0.3629, allocations: 52.72 kB / 490.2 MB, free: 104 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01469/0.3776, allocations: 5.77 MB / 495.9 MB, free: 10.39 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.3776, allocations: 0 / 495.9 MB, free: 10.39 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.455e-05/0.3776, allocations: 4 kB / 495.9 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.0008938/0.3785, allocations: 0.5953 MB / 496.5 MB, free: 9.738 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.496e-05/0.3786, allocations: 8.031 kB / 496.5 MB, free: 9.73 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.633e-05/0.3787, allocations: 31.62 kB / 496.6 MB, free: 9.699 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003052/0.379, allocations: 271.8 kB / 496.8 MB, free: 9.391 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.093e-05/0.379, allocations: 21.38 kB / 496.8 MB, free: 9.371 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.778e-05/0.3791, allocations: 24 kB / 496.9 MB, free: 9.348 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005809/0.3797, allocations: 319.6 kB / 497.2 MB, free: 9.027 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.3797, allocations: 0 / 497.2 MB, free: 9.027 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.687e-05/0.3797, allocations: 8 kB / 497.2 MB, free: 9.02 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.321e-06/0.3797, allocations: 8 kB / 497.2 MB, free: 9.012 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005812/0.3803, allocations: 266 kB / 497.5 MB, free: 8.754 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001366/0.3817, allocations: 1.01 MB / 498.5 MB, free: 7.672 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006781/0.3824, allocations: 287.8 kB / 498.7 MB, free: 7.383 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.911e-05/0.3824, allocations: 4.188 kB / 498.8 MB, free: 7.379 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003835/0.3828, allocations: 202.6 kB / 499 MB, free: 7.172 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 7.644e-06/0.3828, allocations: 0 / 499 MB, free: 7.172 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.0009067/0.3837, allocations: 404.3 kB / 499.3 MB, free: 6.773 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.269e-05/0.3838, allocations: 55.41 kB / 499.4 MB, free: 6.707 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001743/0.384, allocations: 200.1 kB / 499.6 MB, free: 6.508 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.434e-05/0.384, allocations: 29.7 kB / 499.6 MB, free: 6.473 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.464e-05/0.3841, allocations: 168.1 kB / 499.8 MB, free: 6.305 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.38e-05/0.3842, allocations: 71 kB / 499.9 MB, free: 6.234 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.454e-05/0.3842, allocations: 7.938 kB / 499.9 MB, free: 6.227 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.3843, allocations: 334.8 kB / 0.4885 GB, free: 5.891 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002843/0.3846, allocations: 120.4 kB / 0.4886 GB, free: 5.773 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002869/0.3849, allocations: 164.3 kB / 0.4887 GB, free: 5.602 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003099/0.3852, allocations: 163.8 kB / 0.4889 GB, free: 5.434 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.3852, allocations: 3.953 kB / 0.4889 GB, free: 5.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006986/0.3859, allocations: 369.9 kB / 0.4893 GB, free: 5.059 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.499e-05/0.386, allocations: 37.69 kB / 0.4893 GB, free: 5.016 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.386, allocations: 3.938 kB / 0.4893 GB, free: 5.012 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.386, allocations: 4 kB / 0.4893 GB, free: 5.008 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003148/0.3863, allocations: 75.98 kB / 0.4894 GB, free: 4.934 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.3863, allocations: 0 / 0.4894 GB, free: 4.934 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000246/0.3866, allocations: 55.66 kB / 0.4894 GB, free: 4.879 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.877e-05/0.3866, allocations: 8 kB / 0.4894 GB, free: 4.871 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.0001492/0.3868, allocations: 153.8 kB / 0.4896 GB, free: 4.711 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.422e-05/0.3869, allocations: 23.77 kB / 0.4896 GB, free: 4.688 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000696/0.3876, allocations: 327.5 kB / 0.4899 GB, free: 4.363 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.3876, allocations: 0 / 0.4899 GB, free: 4.363 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.3876, allocations: 4 kB / 0.4899 GB, free: 4.359 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.3876, allocations: 3.984 kB / 0.4899 GB, free: 4.355 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00035/0.3879, allocations: 361.4 kB / 0.4903 GB, free: 3.949 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.388, allocations: 4 kB / 0.4903 GB, free: 3.945 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003208/0.3883, allocations: 71.91 kB / 0.4903 GB, free: 3.875 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.3883, allocations: 4 kB / 0.4903 GB, free: 3.871 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.134e-05/0.3883, allocations: 3.984 kB / 0.4903 GB, free: 3.867 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3883, allocations: 0 / 0.4903 GB, free: 3.867 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.3883, allocations: 0 / 0.4903 GB, free: 3.867 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009035/0.3893, allocations: 495.5 kB / 0.4908 GB, free: 3.367 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.415e-05/0.3893, allocations: 96.86 kB / 0.4909 GB, free: 3.254 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.547e-05/0.3894, allocations: 11.95 kB / 0.4909 GB, free: 3.242 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001929/0.3896, allocations: 28.03 kB / 0.4909 GB, free: 3.215 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.527e-05/0.3897, allocations: 27.95 kB / 0.491 GB, free: 3.188 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-05/0.3897, allocations: 8 kB / 0.491 GB, free: 3.18 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001319/0.3898, allocations: 160.5 kB / 0.4911 GB, free: 3.023 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3898, allocations: 0 / 0.4911 GB, free: 3.023 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002649/0.3901, allocations: 67.78 kB / 0.4912 GB, free: 2.957 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.0001281/0.3902, allocations: 119.1 kB / 0.4913 GB, free: 2.832 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006666/0.3909, allocations: 335.2 kB / 0.4916 GB, free: 2.492 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3909, allocations: 4 kB / 0.4916 GB, free: 2.488 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002892/0.3912, allocations: 140 kB / 0.4918 GB, free: 2.352 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002373/0.3915, allocations: 34.33 kB / 0.4918 GB, free: 2.32 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001087/0.3925, allocations: 0.716 MB / 0.4925 GB, free: 1.574 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003089/0.3929, allocations: 0.7752 MB / 0.4933 GB, free: 0.7734 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001317/0.393, allocations: 29.53 kB / 0.4933 GB, free: 0.7461 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.438e-05/0.3931, allocations: 15.44 kB / 0.4933 GB, free: 0.7305 MB / 362.7 MB Notification: Performance of SimCode: time 3.21e-07/0.3931, allocations: 0 / 0.4933 GB, free: 0.7305 MB / 362.7 MB Notification: Performance of Templates: time 0.004799/0.3979, allocations: 2.269 MB / 0.4955 GB, free: 14.48 MB / 378.7 MB make -j1 -f FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.makefile (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 & ./FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined -abortSlowSimulation -alarm=480 -lv LOG_STATS > FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe 2>&1)