Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 73.09 kB / 20.66 MB, free: 3.844 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009804/0.0009804, allocations: 169 kB / 24.06 MB, free: 456 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.046/1.046, allocations: 177.1 MB / 204.5 MB, free: 5.523 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.01409/0.01409, allocations: 3.57 MB / 264.6 MB, free: 9.477 MB / 250.7 MB " [Timeout remaining time 180] Using package FastBuildings with version 0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(FastBuildings.Examples.SingleZone_ArtificialInputs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs") translateModel(FastBuildings.Examples.SingleZone_ArtificialInputs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 335.4 MB, free: 20 kB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.266e-05/2.402e-05, allocations: 2.312 kB / 335.4 MB, free: 16 kB / 298.7 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_ArtificialInputs): time 0.00787/0.007894, allocations: 2.877 MB / 338.3 MB, free: 13.12 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002261/0.01015, allocations: 0.7594 MB / 339.1 MB, free: 12.36 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001265/0.01028, allocations: 4 kB / 339.1 MB, free: 12.35 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001454/0.01043, allocations: 51.5 kB / 339.1 MB, free: 12.3 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001575/0.01058, allocations: 95.14 kB / 339.2 MB, free: 12.21 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003476/0.01093, allocations: 135.7 kB / 339.4 MB, free: 12.07 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004247/0.01136, allocations: 422.3 kB / 339.8 MB, free: 11.66 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000302/0.01166, allocations: 158.4 kB / 339.9 MB, free: 11.51 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000349/0.01201, allocations: 227.6 kB / 340.1 MB, free: 11.29 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005271/0.01728, allocations: 131.7 kB / 340.3 MB, free: 11.16 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.777e-05/0.01735, allocations: 40 kB / 340.3 MB, free: 11.12 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.104e-05/0.01744, allocations: 47.94 kB / 340.4 MB, free: 11.07 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.383e-05/0.01751, allocations: 87.73 kB / 340.4 MB, free: 10.98 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001299/0.01764, allocations: 119.8 kB / 340.6 MB, free: 10.87 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003793/0.01802, allocations: 271.1 kB / 340.8 MB, free: 10.6 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.01802, allocations: 0 / 340.8 MB, free: 10.6 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.01802, allocations: 4 kB / 340.8 MB, free: 10.6 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.01803, allocations: 0 / 340.8 MB, free: 10.6 MB / 314.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.0008761/0.01891, allocations: 0.6735 MB / 341.5 MB, free: 9.883 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.01894, allocations: 12.03 kB / 341.5 MB, free: 9.871 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002342/0.01918, allocations: 64.73 kB / 341.6 MB, free: 9.809 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002748/0.01945, allocations: 224 kB / 341.8 MB, free: 9.562 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.439e-05/0.01948, allocations: 20.88 kB / 341.8 MB, free: 9.543 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.559e-05/0.01952, allocations: 24.38 kB / 341.8 MB, free: 9.52 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003751/0.0199, allocations: 221.6 kB / 342.1 MB, free: 9.289 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.01991, allocations: 4.188 kB / 342.1 MB, free: 9.285 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.46e-05/0.01993, allocations: 8.375 kB / 342.1 MB, free: 9.277 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.13e-05/0.01995, allocations: 7.938 kB / 342.1 MB, free: 9.27 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003177/0.02312, allocations: 79.34 kB / 342.2 MB, free: 9.188 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001151/0.02427, allocations: 0.8683 MB / 343 MB, free: 8.277 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003097/0.02458, allocations: 131.1 kB / 343.1 MB, free: 8.141 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.384e-05/0.02468, allocations: 51.59 kB / 343.2 MB, free: 8.086 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.14e-05/0.0247, allocations: 4.375 kB / 343.2 MB, free: 8.082 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001817/0.02488, allocations: 111.7 kB / 343.3 MB, free: 7.961 MB / 314.7 MB Notification: Performance of pre-optimization done (n=22): time 2.334e-06/0.02488, allocations: 0 / 343.3 MB, free: 7.961 MB / 314.7 MB Notification: Performance of matching and sorting (n=22): time 0.0003651/0.02525, allocations: 169.4 kB / 343.5 MB, free: 7.789 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.646e-05/0.02528, allocations: 59.41 kB / 343.5 MB, free: 7.719 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001778/0.02546, allocations: 258.6 kB / 343.8 MB, free: 7.445 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.427e-05/0.02549, allocations: 33.7 kB / 343.8 MB, free: 7.406 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001202/0.02561, allocations: 227.3 kB / 344 MB, free: 7.176 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.267e-05/0.02567, allocations: 79.36 kB / 344.1 MB, free: 7.098 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.122e-05/0.02576, allocations: 55.33 kB / 344.2 MB, free: 7.035 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.02591, allocations: 0.504 MB / 344.7 MB, free: 6.52 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003119/0.02903, allocations: 57.67 kB / 344.7 MB, free: 6.457 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001162/0.02914, allocations: 104.9 kB / 344.8 MB, free: 6.332 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001933/0.02934, allocations: 138.2 kB / 345 MB, free: 6.172 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.02934, allocations: 4 kB / 345 MB, free: 6.168 MB / 314.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003437/0.02968, allocations: 235.8 kB / 345.2 MB, free: 5.922 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.677e-05/0.02972, allocations: 33.7 kB / 345.2 MB, free: 5.883 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.02973, allocations: 0 / 345.2 MB, free: 5.883 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.02974, allocations: 3.938 kB / 345.2 MB, free: 5.879 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002478/0.02999, allocations: 59.95 kB / 345.3 MB, free: 5.82 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.02999, allocations: 7.938 kB / 345.3 MB, free: 5.812 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000132/0.03012, allocations: 35.77 kB / 345.3 MB, free: 5.777 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.984e-05/0.03014, allocations: 12.09 kB / 345.4 MB, free: 5.766 MB / 314.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 (simFasBui.powElePul.count,$PRE.simFasBui.powElePul.count,simFasBui.powElePul.T_start,$PRE.simFasBui.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.0001184/0.03026, allocations: 164.6 kB / 345.5 MB, free: 5.594 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.44e-05/0.03031, allocations: 27.84 kB / 345.5 MB, free: 5.566 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002953/0.0306, allocations: 166.6 kB / 345.7 MB, free: 5.406 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/0.03061, allocations: 4 kB / 345.7 MB, free: 5.402 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.03061, allocations: 0 / 345.7 MB, free: 5.402 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.03062, allocations: 7.922 kB / 345.7 MB, free: 5.395 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000232/0.03085, allocations: 209 kB / 345.9 MB, free: 5.164 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.03085, allocations: 0 / 345.9 MB, free: 5.164 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002185/0.03107, allocations: 59.89 kB / 346 MB, free: 5.105 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.03107, allocations: 7.938 kB / 346 MB, free: 5.098 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.685e-05/0.03109, allocations: 4 kB / 346 MB, free: 5.094 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.03109, allocations: 0 / 346 MB, free: 5.094 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.03109, allocations: 0 / 346 MB, free: 5.094 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003745/0.03147, allocations: 227.9 kB / 346.2 MB, free: 4.848 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.979e-05/0.0315, allocations: 15.91 kB / 346.2 MB, free: 4.832 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.364e-05/0.03153, allocations: 8 kB / 346.2 MB, free: 4.824 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.978e-05/0.03163, allocations: 15.98 kB / 346.3 MB, free: 4.809 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.167e-05/0.0317, allocations: 23.95 kB / 346.3 MB, free: 4.785 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.577e-05/0.03172, allocations: 8.031 kB / 346.3 MB, free: 4.777 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001117/0.03284, allocations: 181.4 kB / 346.5 MB, free: 4.602 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03284, allocations: 0 / 346.5 MB, free: 4.602 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002796/0.03312, allocations: 83.77 kB / 346.5 MB, free: 4.52 MB / 314.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,simFasBui.powElePul.T_start,simFasBui.powElePul.count) * Number of discrete states: 1 (simFasBui.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.0001113/0.03323, allocations: 107.2 kB / 346.7 MB, free: 4.406 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000263/0.03349, allocations: 185.3 kB / 346.8 MB, free: 4.203 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.03349, allocations: 0 / 346.8 MB, free: 4.203 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001031/0.03359, allocations: 71.5 kB / 346.9 MB, free: 4.129 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002713/0.03387, allocations: 40.61 kB / 346.9 MB, free: 4.09 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001153/0.03502, allocations: 0.5295 MB / 347.5 MB, free: 3.531 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.674e-05/0.0351, allocations: 104 kB / 347.6 MB, free: 3.406 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001075/0.0352, allocations: 17.62 kB / 347.6 MB, free: 3.387 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001537/0.03536, allocations: 114.1 kB / 347.7 MB, free: 3.273 MB / 314.7 MB Notification: Performance of SimCode: time 1.122e-06/0.03536, allocations: 0 / 347.7 MB, free: 3.273 MB / 314.7 MB Notification: Performance of Templates: time 0.006922/0.04228, allocations: 3.025 MB / 350.7 MB, free: 296 kB / 314.7 MB " [Timeout remaining time 660] make -j1 -f FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.makefile [Timeout 660] (rm -f FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.pipe ; mkfifo FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.pipe >> ../files/FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.sim & ./FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs -abortSlowSimulation -alarm=240 -lv LOG_STATS > FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9664883660152555]