Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FastBuildings_FastBuildings.Input.SIM_ArtificialInput.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.Input.SIM_ArtificialInput,fileNamePrefix="FastBuildings_FastBuildings_Input_SIM_ArtificialInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(FastBuildings.Input.SIM_ArtificialInput,fileNamePrefix="FastBuildings_FastBuildings_Input_SIM_ArtificialInput",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.001362/0.001362, 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.00141/0.00141, allocations: 192.8 kB / 16.53 MB, free: 6.699 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.175/1.175, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 1.311/1.311, allocations: 4.63 MB / 295 MB, free: 3.082 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 60.05 kB / 356.6 MB, free: 2.445 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07392/0.07513, allocations: 50.52 MB / 407.2 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Input.SIM_ArtificialInput): time 0.002553/0.07771, allocations: 1.668 MB / 408.8 MB, free: 14.21 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006983/0.07843, allocations: 490.7 kB / 409.3 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.013e-05/0.07851, allocations: 7.875 kB / 409.3 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.181e-05/0.07859, allocations: 11.86 kB / 409.3 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.357e-05/0.07867, allocations: 19.8 kB / 409.3 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000171/0.07885, allocations: 39.89 kB / 409.4 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001588/0.07902, allocations: 119.6 kB / 409.5 MB, free: 13.53 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001282/0.07916, allocations: 45.41 kB / 409.5 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001111/0.07927, allocations: 63.77 kB / 409.6 MB, free: 13.42 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.934e-05/0.07936, allocations: 51.77 kB / 409.7 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.556e-05/0.07939, allocations: 8 kB / 409.7 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.152e-05/0.07942, allocations: 8 kB / 409.7 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.21e-05/0.07947, allocations: 23.91 kB / 409.7 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.899e-05/0.07954, allocations: 51.67 kB / 409.8 MB, free: 13.28 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001289/0.07967, allocations: 103.9 kB / 409.9 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.07968, allocations: 0 / 409.9 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.07969, allocations: 0 / 409.9 MB, free: 13.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.0797, allocations: 4 kB / 409.9 MB, free: 13.18 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0006862/0.08039, allocations: 460.7 kB / 410.3 MB, free: 12.67 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.032e-05/0.08043, allocations: 8.031 kB / 410.3 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.418e-05/0.0805, allocations: 50.77 kB / 410.4 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4e-05/0.08054, allocations: 16.75 kB / 410.4 MB, free: 12.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001644/0.08071, allocations: 205.7 kB / 410.6 MB, free: 12.35 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.08074, allocations: 16.06 kB / 410.6 MB, free: 12.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.94e-05/0.08076, allocations: 12 kB / 410.6 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003555/0.08112, allocations: 183.3 kB / 410.8 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.08114, allocations: 0 / 410.8 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.545e-05/0.08116, allocations: 4 kB / 410.8 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.08117, allocations: 4 kB / 410.8 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003691/0.08155, allocations: 127.8 kB / 410.9 MB, free: 11.99 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007821/0.08234, allocations: 0.7354 MB / 411.7 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003549/0.0827, allocations: 173 kB / 411.8 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002024/0.08291, allocations: 88.3 kB / 411.9 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.072e-05/0.08294, allocations: 12 kB / 411.9 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002984/0.08325, allocations: 151.5 kB / 412.1 MB, free: 10.69 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.402e-06/0.08326, allocations: 0 / 412.1 MB, free: 10.69 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006798/0.08394, allocations: 233.6 kB / 412.3 MB, free: 10.45 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.269e-05/0.08403, allocations: 166.1 kB / 412.5 MB, free: 10.25 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/0.08416, allocations: 168 kB / 412.6 MB, free: 10.07 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.475e-05/0.08419, allocations: 29.7 kB / 412.7 MB, free: 10.04 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.675e-05/0.08425, allocations: 112 kB / 412.8 MB, free: 9.922 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.666e-05/0.08428, allocations: 31.55 kB / 412.8 MB, free: 9.891 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.381e-05/0.08434, allocations: 29.7 kB / 412.8 MB, free: 9.855 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.898e-05/0.08445, allocations: 334.8 kB / 413.2 MB, free: 9.52 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001942/0.08465, allocations: 59.94 kB / 413.2 MB, free: 9.461 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001951/0.08485, allocations: 88.23 kB / 413.3 MB, free: 9.359 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003815/0.08524, allocations: 173.8 kB / 413.5 MB, free: 9.168 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.08525, allocations: 0 / 413.5 MB, free: 9.168 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000489/0.08574, allocations: 223 kB / 413.7 MB, free: 8.938 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.788e-05/0.08578, allocations: 33.7 kB / 413.7 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.0858, allocations: 0 / 413.7 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.08581, allocations: 4 kB / 413.7 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001622/0.08598, allocations: 28.03 kB / 413.7 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.086, allocations: 8 kB / 413.8 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001527/0.08616, allocations: 27.81 kB / 413.8 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.608e-05/0.08618, allocations: 8 kB / 413.8 MB, free: 8.824 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (11): * Single equations (assignments): 10 * 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 8.963e-05/0.08627, allocations: 125.8 kB / 413.9 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.555e-05/0.0863, allocations: 11.91 kB / 413.9 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001794/0.08649, allocations: 90.58 kB / 414 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.0865, allocations: 4.031 kB / 414 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.08651, allocations: 4 kB / 414 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.08652, allocations: 4 kB / 414 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002419/0.08677, allocations: 338.3 kB / 414.4 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.08678, allocations: 0 / 414.4 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001326/0.08691, allocations: 27.97 kB / 414.4 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.08692, allocations: 0 / 414.4 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.08694, allocations: 12.02 kB / 414.4 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.08695, allocations: 7.938 kB / 414.4 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.08696, allocations: 3.938 kB / 414.4 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004571/0.08742, allocations: 286.9 kB / 414.7 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.955e-05/0.08748, allocations: 96.89 kB / 414.8 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.455e-05/0.08751, allocations: 0 / 414.8 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001661/0.08768, allocations: 19.92 kB / 414.8 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.203e-05/0.08775, allocations: 24.06 kB / 414.8 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.788e-06/0.08777, allocations: 7.938 kB / 414.8 MB, free: 7.656 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.764e-05/0.08785, allocations: 124 kB / 415 MB, free: 7.535 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.08786, allocations: 0 / 415 MB, free: 7.535 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002467/0.08811, allocations: 24 kB / 415 MB, free: 7.512 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * 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 (9): * Single equations (assignments): 7 * 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.0008915/0.089, allocations: 0.8995 MB / 415.9 MB, free: 6.57 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004573/0.08947, allocations: 199.3 kB / 416.1 MB, free: 6.363 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.08948, allocations: 0 / 416.1 MB, free: 6.363 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002431/0.08973, allocations: 83.88 kB / 416.2 MB, free: 6.281 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00029/0.09003, allocations: 32.33 kB / 416.2 MB, free: 6.25 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002436/0.09247, allocations: 2.026 MB / 418.2 MB, free: 4.094 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000313/0.0928, allocations: 0.7236 MB / 418.9 MB, free: 3.344 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.982e-05/0.0929, allocations: 16.42 kB / 418.9 MB, free: 3.328 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.74e-05/0.09299, allocations: 35.42 kB / 419 MB, free: 3.293 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.093, allocations: 0 / 419 MB, free: 3.293 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05486/0.1479, allocations: 2.903 MB / 421.9 MB, free: 452 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.197/7.345, allocations: 23.78 kB / 421.9 MB, free: 428 kB / 350.1 MB (rm -f FastBuildings_FastBuildings.Input.SIM_ArtificialInput.pipe ; mkfifo FastBuildings_FastBuildings.Input.SIM_ArtificialInput.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Input.SIM_ArtificialInput.pipe >> ../files/FastBuildings_FastBuildings.Input.SIM_ArtificialInput.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_FastBuildings_FastBuildings_Input_SIM_ArtificialInput_fmu --startTime=0 --stopTime=604800 --timeout=50 --tolerance=1e-06 FastBuildings_FastBuildings_Input_SIM_ArtificialInput.fmu > FastBuildings_FastBuildings.Input.SIM_ArtificialInput.pipe 2>&1)