Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FastBuildings_FastBuildings.Examples.TwoZone_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.001166/0.001166, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001692/0.001692, allocations: 177 kB / 23.49 MB, free: 1.055 MB / 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.009/1.009, allocations: 177.1 MB / 203.8 MB, free: 5.641 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.01416/0.01416, allocations: 3.574 MB / 263.9 MB, free: 9.676 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.TwoZone_ArtificialInputs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs") translateModel(FastBuildings.Examples.TwoZone_ArtificialInputs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 334.2 MB, free: 15.54 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.458e-05/1.594e-05, allocations: 2.312 kB / 334.2 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.TwoZone_ArtificialInputs): time 0.007118/0.007134, allocations: 3.997 MB / 338.2 MB, free: 11.52 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002271/0.009405, allocations: 0.9775 MB / 339.2 MB, free: 10.54 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003726/0.009778, allocations: 15.94 kB / 339.2 MB, free: 10.52 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002726/0.01005, allocations: 79.16 kB / 339.3 MB, free: 10.45 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003779/0.01043, allocations: 178.4 kB / 339.5 MB, free: 10.27 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006404/0.01107, allocations: 203.6 kB / 339.7 MB, free: 10.07 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007122/0.01178, allocations: 0.7813 MB / 340.4 MB, free: 9.289 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004023/0.01218, allocations: 332.8 kB / 340.8 MB, free: 8.949 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004109/0.01259, allocations: 451.1 kB / 341.2 MB, free: 8.508 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002199/0.01281, allocations: 235.4 kB / 341.4 MB, free: 8.277 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.653e-05/0.01288, allocations: 87.94 kB / 341.5 MB, free: 8.191 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001008/0.01298, allocations: 91.98 kB / 341.6 MB, free: 8.102 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.667e-05/0.01306, allocations: 159.6 kB / 341.8 MB, free: 7.945 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001625/0.01322, allocations: 235.5 kB / 342 MB, free: 7.715 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000483/0.0137, allocations: 0.4945 MB / 342.5 MB, free: 7.219 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.01371, allocations: 0 / 342.5 MB, free: 7.219 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.01371, allocations: 0 / 342.5 MB, free: 7.219 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.067e-05/0.01372, allocations: 0 / 342.5 MB, free: 7.219 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.00103/0.01475, allocations: 0.9425 MB / 343.4 MB, free: 6.234 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.01479, allocations: 8.031 kB / 343.4 MB, free: 6.227 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002543/0.01504, allocations: 124.5 kB / 343.6 MB, free: 6.105 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003334/0.01537, allocations: 332.2 kB / 343.9 MB, free: 5.75 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.496e-05/0.0154, allocations: 41.36 kB / 343.9 MB, free: 5.707 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.325e-05/0.01545, allocations: 48.38 kB / 344 MB, free: 5.66 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005004/0.01595, allocations: 416.6 kB / 344.4 MB, free: 5.234 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.01597, allocations: 192 / 344.4 MB, free: 5.234 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.46e-05/0.016, allocations: 20.38 kB / 344.4 MB, free: 5.215 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.441e-05/0.01602, allocations: 15.94 kB / 344.4 MB, free: 5.199 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000295/0.01631, allocations: 165.9 kB / 344.6 MB, free: 5.035 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00141/0.01772, allocations: 1.528 MB / 346.1 MB, free: 3.457 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002864/0.01801, allocations: 223.7 kB / 346.3 MB, free: 3.215 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001517/0.01816, allocations: 118.4 kB / 346.4 MB, free: 3.094 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.906e-05/0.01819, allocations: 8.281 kB / 346.5 MB, free: 3.086 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002327/0.01842, allocations: 192.8 kB / 346.6 MB, free: 2.875 MB / 266.7 MB Notification: Performance of pre-optimization done (n=38): time 1.463e-06/0.01842, allocations: 0 / 346.6 MB, free: 2.875 MB / 266.7 MB Notification: Performance of matching and sorting (n=38): time 0.0005122/0.01893, allocations: 307.1 kB / 346.9 MB, free: 2.57 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.249e-05/0.01897, allocations: 93.05 kB / 347 MB, free: 2.461 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001958/0.01916, allocations: 346.3 kB / 347.4 MB, free: 2.105 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.438e-05/0.01919, allocations: 33.7 kB / 347.4 MB, free: 2.066 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/0.01929, allocations: 315.1 kB / 347.7 MB, free: 1.754 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.967e-05/0.01936, allocations: 138.8 kB / 347.8 MB, free: 1.617 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.958e-05/0.01945, allocations: 79.84 kB / 347.9 MB, free: 1.531 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.006e-05/0.01952, allocations: 0.5235 MB / 348.4 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001314/0.01965, allocations: 90.66 kB / 348.5 MB, free: 0.9023 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001422/0.0198, allocations: 180.5 kB / 348.7 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002705/0.02007, allocations: 261 kB / 349 MB, free: 396 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.02007, allocations: 0 / 349 MB, free: 396 kB / 266.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004121/0.02048, allocations: 386 kB / 349.3 MB, free: 15.99 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.627e-05/0.02052, allocations: 37.7 kB / 349.4 MB, free: 15.95 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.02052, allocations: 0 / 349.4 MB, free: 15.95 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.02054, allocations: 7.938 kB / 349.4 MB, free: 15.94 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003364/0.02088, allocations: 111.9 kB / 349.5 MB, free: 15.83 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.02088, allocations: 8.188 kB / 349.5 MB, free: 15.82 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001389/0.02102, allocations: 51.66 kB / 349.6 MB, free: 15.77 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.317e-05/0.02105, allocations: 19.98 kB / 349.6 MB, free: 15.75 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (51): * Single equations (assignments): 50 * 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.000156/0.0212, allocations: 180.6 kB / 349.8 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.48e-05/0.02127, allocations: 55.69 kB / 349.8 MB, free: 15.51 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000376/0.02164, allocations: 245.4 kB / 350 MB, free: 15.27 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.02165, allocations: 4 kB / 350.1 MB, free: 15.26 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.02165, allocations: 0 / 350.1 MB, free: 15.26 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.02166, allocations: 7.922 kB / 350.1 MB, free: 15.25 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003686/0.02203, allocations: 400.3 kB / 350.5 MB, free: 14.83 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.02203, allocations: 0 / 350.5 MB, free: 14.83 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003154/0.02235, allocations: 107.9 kB / 350.6 MB, free: 14.72 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.211e-06/0.02235, allocations: 4 kB / 350.6 MB, free: 14.72 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.091e-05/0.02238, allocations: 11.92 kB / 350.6 MB, free: 14.71 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-06/0.02239, allocations: 7.938 kB / 350.6 MB, free: 14.7 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.02239, allocations: 0 / 350.6 MB, free: 14.7 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005291/0.02292, allocations: 384.3 kB / 351 MB, free: 14.3 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.335e-05/0.02296, allocations: 43.64 kB / 351 MB, free: 14.25 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.902e-05/0.023, allocations: 15.94 kB / 351 MB, free: 14.24 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002038/0.0232, allocations: 23.97 kB / 351 MB, free: 14.21 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.489e-05/0.02329, allocations: 31.94 kB / 351.1 MB, free: 14.18 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.788e-05/0.02331, allocations: 12 kB / 351.1 MB, free: 14.17 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001447/0.02345, allocations: 231 kB / 351.3 MB, free: 13.95 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02345, allocations: 0 / 351.3 MB, free: 13.95 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003044/0.02376, allocations: 131.7 kB / 351.4 MB, free: 13.82 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (bui.zon1.capZon.heaPor.T,bui.zon1.capWal.heaPor.T,bui.zon1.capInt.heaPor.T,bui.zon2.capZon.heaPor.T,bui.bou.capWal.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 (38): * Single equations (assignments): 36 * 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.0001163/0.02387, allocations: 115.1 kB / 351.5 MB, free: 13.7 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004097/0.02428, allocations: 301.2 kB / 351.8 MB, free: 13.38 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.02428, allocations: 0 / 351.8 MB, free: 13.38 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001578/0.02444, allocations: 119.4 kB / 352 MB, free: 13.26 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002813/0.02472, allocations: 56.94 kB / 352 MB, free: 13.21 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001655/0.02638, allocations: 0.9961 MB / 353 MB, free: 12.17 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.581e-05/0.02647, allocations: 137.1 kB / 353.1 MB, free: 12.02 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001379/0.02661, allocations: 46.94 kB / 353.2 MB, free: 11.97 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.741e-05/0.0267, allocations: 36.48 kB / 353.2 MB, free: 11.94 MB / 282.7 MB Notification: Performance of SimCode: time 1.293e-06/0.0267, allocations: 0 / 353.2 MB, free: 11.94 MB / 282.7 MB Notification: Performance of Templates: time 0.007111/0.03381, allocations: 4.231 MB / 357.5 MB, free: 7.766 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.makefile [Timeout 660] (rm -f FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.pipe ; mkfifo FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.pipe >> ../files/FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.sim & ./FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs -abortSlowSimulation -alarm=240 -lv LOG_STATS > FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9883967409841716]