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/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.Examples.SingleZone_Inputs_defined,fileNamePrefix="FastBuildings_FastBuildings_Examples_SingleZone_Inputs_defined",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(FastBuildings.Examples.SingleZone_Inputs_defined,fileNamePrefix="FastBuildings_FastBuildings_Examples_SingleZone_Inputs_defined",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.004655/0.004655, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001131/0.001131, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.329/1.329, allocations: 222.9 MB / 240.4 MB, free: 4.188 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.1205/0.1205, allocations: 4.629 MB / 295.2 MB, free: 3.031 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 75.88 kB / 407.8 MB, free: 15.25 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2403/0.2415, allocations: 50.5 MB / 458.3 MB, free: 19.8 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_Inputs_defined): time 0.003006/0.2446, allocations: 2.867 MB / 461.2 MB, free: 17.79 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009089/0.2455, allocations: 0.6664 MB / 461.8 MB, free: 17.3 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001142/0.2456, allocations: 5.625 kB / 461.8 MB, free: 17.3 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001489/0.2458, allocations: 45.83 kB / 461.9 MB, free: 17.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001622/0.246, allocations: 87.27 kB / 462 MB, free: 17.2 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003222/0.2463, allocations: 103.9 kB / 462.1 MB, free: 17.14 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003441/0.2467, allocations: 382.6 kB / 462.5 MB, free: 16.94 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003031/0.247, allocations: 197.5 kB / 462.6 MB, free: 16.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001775/0.2472, allocations: 147.3 kB / 462.8 MB, free: 16.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001702/0.2473, allocations: 153.5 kB / 462.9 MB, free: 16.69 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.835e-05/0.2474, allocations: 39.72 kB / 463 MB, free: 16.69 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.706e-05/0.2475, allocations: 43.41 kB / 463 MB, free: 16.69 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.548e-05/0.2475, allocations: 77.42 kB / 463.1 MB, free: 16.63 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001403/0.2477, allocations: 163.8 kB / 463.3 MB, free: 16.53 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003807/0.2481, allocations: 407.7 kB / 463.7 MB, free: 16.35 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.2481, allocations: 0 / 463.7 MB, free: 16.35 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2481, allocations: 0 / 463.7 MB, free: 16.35 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.043e-06/0.2481, allocations: 0 / 463.7 MB, free: 16.35 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.00104/0.2491, allocations: 0.6309 MB / 464.3 MB, free: 15.83 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.2492, allocations: 9.625 kB / 464.3 MB, free: 15.83 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.795e-05/0.2492, allocations: 57.59 kB / 464.4 MB, free: 15.78 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.485e-05/0.2493, allocations: 41.16 kB / 464.4 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000245/0.2496, allocations: 273.7 kB / 464.7 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.219e-05/0.2496, allocations: 18.88 kB / 464.7 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.011e-05/0.2497, allocations: 28.7 kB / 464.7 MB, free: 15.46 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005299/0.2502, allocations: 317 kB / 465 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.2502, allocations: 0 / 465 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.528e-05/0.2502, allocations: 11.12 kB / 465 MB, free: 15.31 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.2503, allocations: 6.031 kB / 465 MB, free: 15.31 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005278/0.2508, allocations: 243.7 kB / 465.3 MB, free: 15.24 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001223/0.252, allocations: 0.9935 MB / 466.3 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006983/0.2527, allocations: 280 kB / 466.5 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002966/0.253, allocations: 144.7 kB / 466.7 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.39e-05/0.2531, allocations: 10.12 kB / 466.7 MB, free: 14.37 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003667/0.2535, allocations: 174.2 kB / 466.9 MB, free: 14.29 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.723e-06/0.2535, allocations: 0 / 466.9 MB, free: 14.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.0008611/0.2543, allocations: 381.5 kB / 467.2 MB, free: 14.14 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.412e-05/0.2544, allocations: 55.59 kB / 467.3 MB, free: 14.08 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001726/0.2545, allocations: 215.1 kB / 467.5 MB, free: 13.95 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.078e-05/0.2546, allocations: 34.7 kB / 467.5 MB, free: 13.91 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.788e-05/0.2547, allocations: 174.1 kB / 467.7 MB, free: 13.76 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.058e-05/0.2547, allocations: 73.52 kB / 467.8 MB, free: 13.7 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.391e-05/0.2548, allocations: 53.08 kB / 467.8 MB, free: 13.67 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.818e-05/0.2549, allocations: 331.6 kB / 468.1 MB, free: 13.35 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002657/0.2551, allocations: 104.8 kB / 468.2 MB, free: 13.32 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002639/0.2554, allocations: 149.6 kB / 468.4 MB, free: 13.24 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004992/0.2559, allocations: 288 kB / 468.7 MB, free: 13.09 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/0.2559, allocations: 0.6562 kB / 468.7 MB, free: 13.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006445/0.2566, allocations: 356.5 kB / 469 MB, free: 12.92 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.853e-05/0.2566, allocations: 36.25 kB / 469.1 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.2566, allocations: 1.484 kB / 469.1 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.907e-05/0.2567, allocations: 3.25 kB / 469.1 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003139/0.257, allocations: 70.78 kB / 469.1 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.257, allocations: 6.312 kB / 469.1 MB, free: 12.87 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002004/0.2572, allocations: 40.05 kB / 469.2 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.459e-05/0.2572, allocations: 8.094 kB / 469.2 MB, free: 12.85 MB / 350.1 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 (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 (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.0001147/0.2573, allocations: 153 kB / 469.3 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.221e-05/0.2574, allocations: 26.03 kB / 469.4 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006325/0.258, allocations: 301.2 kB / 469.7 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.258, allocations: 3.734 kB / 469.7 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.258, allocations: 3.938 kB / 469.7 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.2581, allocations: 6.109 kB / 469.7 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002948/0.2584, allocations: 368.4 kB / 470 MB, free: 12.28 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.2584, allocations: 0 / 470 MB, free: 12.28 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003063/0.2587, allocations: 60.67 kB / 470.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.2587, allocations: 1.938 kB / 470.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.042e-05/0.2587, allocations: 6.109 kB / 470.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.2587, allocations: 9.656 kB / 470.1 MB, free: 12.26 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.2587, allocations: 1.078 kB / 470.1 MB, free: 12.26 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008429/0.2596, allocations: 448 kB / 470.5 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.952e-05/0.2596, allocations: 104.5 kB / 470.6 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.347e-05/0.2597, allocations: 6.219 kB / 470.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001646/0.2598, allocations: 16.27 kB / 470.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.264e-05/0.2599, allocations: 25.12 kB / 470.7 MB, free: 11.94 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.75e-05/0.26, allocations: 5.875 kB / 470.7 MB, free: 11.94 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001086/0.2601, allocations: 159.8 kB / 470.9 MB, free: 11.83 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2601, allocations: 0 / 470.9 MB, free: 11.83 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002729/0.2603, allocations: 65.34 kB / 470.9 MB, free: 11.82 MB / 350.1 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 (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.0009924/0.2613, allocations: 0.9998 MB / 471.9 MB, free: 11.07 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005918/0.262, allocations: 314.6 kB / 472.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.262, allocations: 0 / 472.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002729/0.2622, allocations: 139.8 kB / 472.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002762/0.2625, allocations: 38.86 kB / 472.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003489/0.266, allocations: 2.809 MB / 475.2 MB, free: 9.008 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001998/0.2662, allocations: 0.7645 MB / 476 MB, free: 8.305 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001331/0.2664, allocations: 31.8 kB / 476 MB, free: 8.297 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001286/0.2665, allocations: 79.67 kB / 476.1 MB, free: 8.238 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.2665, allocations: 0 / 476.1 MB, free: 8.238 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0226/0.2891, allocations: 5.228 MB / 481.3 MB, free: 6.953 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.201/7.49, allocations: 9.594 kB / 481.3 MB, free: 6.945 MB / 350.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_FastBuildings_FastBuildings_Examples_SingleZone_Inputs_defined_fmu --startTime=0 --stopTime=604800 --timeout=50 --tolerance=1e-06 FastBuildings_FastBuildings_Examples_SingleZone_Inputs_defined.fmu > FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe 2>&1)