Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.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_2Zones_Artificial,fileNamePrefix="FastBuildings_FastBuildings_Input_SIM_2Zones_Artificial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(FastBuildings.Input.SIM_2Zones_Artificial,fileNamePrefix="FastBuildings_FastBuildings_Input_SIM_2Zones_Artificial",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.004792/0.004792, allocations: 100.9 kB / 15.73 MB, free: 6.473 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 195 kB / 16.67 MB, free: 6.379 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.321/1.321, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.1267/0.1267, allocations: 4.639 MB / 295.2 MB, free: 3.039 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 63.89 kB / 407.7 MB, free: 15.35 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2376/0.2391, allocations: 50.5 MB / 458.2 MB, free: 19.8 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Input.SIM_2Zones_Artificial): time 0.002113/0.2412, allocations: 1.696 MB / 459.9 MB, free: 18.61 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005751/0.2418, allocations: 478.5 kB / 460.4 MB, free: 18.28 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.404e-05/0.2419, allocations: 6.938 kB / 460.4 MB, free: 18.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.793e-05/0.242, allocations: 17.86 kB / 460.4 MB, free: 18.26 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.623e-05/0.2421, allocations: 18.86 kB / 460.4 MB, free: 18.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001683/0.2422, allocations: 47.39 kB / 460.5 MB, free: 18.22 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001333/0.2424, allocations: 123.3 kB / 460.6 MB, free: 18.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001262/0.2425, allocations: 46.06 kB / 460.7 MB, free: 18.15 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001116/0.2426, allocations: 61.55 kB / 460.7 MB, free: 18.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.253e-05/0.2427, allocations: 60.34 kB / 460.8 MB, free: 18.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.273e-05/0.2427, allocations: 13.28 kB / 460.8 MB, free: 18.08 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.693e-05/0.2428, allocations: 9 kB / 460.8 MB, free: 18.08 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.244e-05/0.2428, allocations: 23.22 kB / 460.8 MB, free: 18.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.715e-05/0.2429, allocations: 49.52 kB / 460.9 MB, free: 18.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001342/0.243, allocations: 107.7 kB / 461 MB, free: 17.99 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.243, allocations: 0 / 461 MB, free: 17.99 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.243, allocations: 0 / 461 MB, free: 17.99 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.243, allocations: 3.031 kB / 461 MB, free: 17.99 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0006349/0.2437, allocations: 469.3 kB / 461.4 MB, free: 17.55 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.116e-05/0.2437, allocations: 9 kB / 461.4 MB, free: 17.55 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.557e-05/0.2438, allocations: 61.06 kB / 461.5 MB, free: 17.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.784e-05/0.2438, allocations: 15.55 kB / 461.5 MB, free: 17.49 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001441/0.244, allocations: 204.3 kB / 461.7 MB, free: 17.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.244, allocations: 7.875 kB / 461.7 MB, free: 17.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.297e-05/0.244, allocations: 12.94 kB / 461.7 MB, free: 17.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003544/0.2444, allocations: 197.7 kB / 461.9 MB, free: 17.15 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.2444, allocations: 0 / 461.9 MB, free: 17.15 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/0.2444, allocations: 7.578 kB / 461.9 MB, free: 17.14 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.2444, allocations: 3 kB / 461.9 MB, free: 17.14 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003767/0.2448, allocations: 135.2 kB / 462.1 MB, free: 17.12 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006666/0.2455, allocations: 0.7549 MB / 462.8 MB, free: 16.44 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003932/0.2459, allocations: 268.7 kB / 463.1 MB, free: 16.2 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001975/0.2461, allocations: 94.69 kB / 463.2 MB, free: 16.14 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.315e-05/0.2461, allocations: 0.5625 kB / 463.2 MB, free: 16.14 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002726/0.2464, allocations: 159.6 kB / 463.3 MB, free: 16.04 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.362e-06/0.2464, allocations: 0 / 463.3 MB, free: 16.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.000636/0.2471, allocations: 245.2 kB / 463.6 MB, free: 15.96 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.075e-05/0.2471, allocations: 166.5 kB / 463.7 MB, free: 15.76 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.2472, allocations: 172.8 kB / 463.9 MB, free: 15.63 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.372e-05/0.2472, allocations: 25.7 kB / 463.9 MB, free: 15.6 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.431e-05/0.2473, allocations: 119.5 kB / 464.1 MB, free: 15.49 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.433e-05/0.2473, allocations: 36.7 kB / 464.1 MB, free: 15.46 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.027e-05/0.2474, allocations: 30.66 kB / 464.1 MB, free: 15.44 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.5e-05/0.2474, allocations: 322.5 kB / 464.4 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000191/0.2476, allocations: 62.12 kB / 464.5 MB, free: 15.11 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001827/0.2478, allocations: 102.1 kB / 464.6 MB, free: 15.05 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003445/0.2482, allocations: 185.8 kB / 464.8 MB, free: 14.95 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/0.2482, allocations: 3.938 kB / 464.8 MB, free: 14.94 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004573/0.2486, allocations: 225 kB / 465 MB, free: 14.84 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.442e-05/0.2487, allocations: 36.83 kB / 465 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.2487, allocations: 0.8906 kB / 465 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.2487, allocations: 7.266 kB / 465 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001629/0.2489, allocations: 35.39 kB / 465.1 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.836e-06/0.2489, allocations: 7.969 kB / 465.1 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000147/0.2491, allocations: 29.31 kB / 465.1 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.653e-05/0.2491, allocations: 3.656 kB / 465.1 MB, free: 14.78 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 (13): * Single equations (assignments): 12 * 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.041e-05/0.2492, allocations: 133.1 kB / 465.2 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.64e-05/0.2492, allocations: 14.48 kB / 465.3 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001715/0.2494, allocations: 97.84 kB / 465.4 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.2494, allocations: 3 kB / 465.4 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.2494, allocations: 0 / 465.4 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.2494, allocations: 4.062 kB / 465.4 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002911/0.2497, allocations: 440.7 kB / 465.8 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.2497, allocations: 4.062 kB / 465.8 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001279/0.2499, allocations: 33.03 kB / 465.8 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.2499, allocations: 0 / 465.8 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.446e-05/0.2499, allocations: 3.719 kB / 465.8 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.2499, allocations: 3.812 kB / 465.8 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.2499, allocations: 3.938 kB / 465.8 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004283/0.2503, allocations: 365.1 kB / 466.2 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.958e-05/0.2504, allocations: 94.58 kB / 466.3 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.478e-05/0.2504, allocations: 7.75 kB / 466.3 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001944/0.2506, allocations: 24.84 kB / 466.3 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.699e-05/0.2507, allocations: 22.3 kB / 466.3 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.397e-05/0.2507, allocations: 4.562 kB / 466.4 MB, free: 13.77 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.793e-05/0.2508, allocations: 127.9 kB / 466.5 MB, free: 13.68 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2508, allocations: 0 / 466.5 MB, free: 13.68 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000301/0.2511, allocations: 25.12 kB / 466.5 MB, free: 13.68 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 (11): * Single equations (assignments): 9 * 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.0008007/0.2519, allocations: 0.9865 MB / 467.5 MB, free: 12.84 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004567/0.2524, allocations: 205.2 kB / 467.7 MB, free: 12.75 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2524, allocations: 1.219 kB / 467.7 MB, free: 12.75 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002337/0.2526, allocations: 96.17 kB / 467.8 MB, free: 12.72 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003749/0.253, allocations: 20.22 kB / 467.8 MB, free: 12.71 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002419/0.2554, allocations: 2.156 MB / 470 MB, free: 11.07 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001678/0.2556, allocations: 0.7213 MB / 470.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.311e-05/0.2557, allocations: 18.94 kB / 470.7 MB, free: 10.37 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.277e-05/0.2558, allocations: 41.61 kB / 470.7 MB, free: 10.34 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2558, allocations: 4 kB / 470.7 MB, free: 10.34 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01694/0.2727, allocations: 3.049 MB / 473.8 MB, free: 9.848 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.025/7.297, allocations: 26.66 kB / 473.8 MB, free: 9.828 MB / 350.1 MB (rm -f FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.pipe ; mkfifo FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.pipe >> ../files/FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_FastBuildings_FastBuildings_Input_SIM_2Zones_Artificial_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 FastBuildings_FastBuildings_Input_SIM_2Zones_Artificial.fmu > FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.pipe 2>&1)