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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 FastBuildings with version 0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/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) Running command: "" <> buildModelFMU(FastBuildings.Examples.SingleZone_ArtificialInputs,fileNamePrefix="FastBuildings_FastBuildings_Examples_SingleZone_ArtificialInputs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(FastBuildings.Examples.SingleZone_ArtificialInputs,fileNamePrefix="FastBuildings_FastBuildings_Examples_SingleZone_ArtificialInputs",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 176.2 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.02204/0.02204, allocations: 4.539 MB / 12.61 MB, free: 296 kB / 7.832 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.399/1.399, allocations: 221.5 MB / 235.6 MB, free: 2.285 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008409/0.0008409, allocations: 93.73 kB / 287.6 MB, free: 5.691 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.547e-05/1.542e-05, allocations: 4 kB / 345.4 MB, free: 7.094 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08674/0.08677, allocations: 51.49 MB / 396.9 MB, free: 3.562 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2789/0.3657, allocations: 78.06 MB / 474.9 MB, free: 13.27 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002018/0.366, allocations: 46.5 kB / 475 MB, free: 13.25 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01324/0.3793, allocations: 5.774 MB / 480.7 MB, free: 9.836 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3793, allocations: 3.938 kB / 480.8 MB, free: 9.832 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.897e-05/0.3793, allocations: 4 kB / 480.8 MB, free: 9.828 MB / 346.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.0008036/0.3802, allocations: 0.5758 MB / 481.3 MB, free: 9.227 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/0.3802, allocations: 16.03 kB / 481.3 MB, free: 9.211 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.154e-05/0.3803, allocations: 35.23 kB / 481.4 MB, free: 9.18 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002724/0.3806, allocations: 260 kB / 481.6 MB, free: 8.914 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.3806, allocations: 8 kB / 481.6 MB, free: 8.906 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.808e-05/0.3807, allocations: 19.98 kB / 481.7 MB, free: 8.887 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000336/0.381, allocations: 207.1 kB / 481.9 MB, free: 8.766 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003599/0.3814, allocations: 264.5 kB / 482.1 MB, free: 8.566 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.3814, allocations: 1.375 kB / 482.1 MB, free: 8.566 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.613e-05/0.3814, allocations: 0 / 482.1 MB, free: 8.566 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.3814, allocations: 8 kB / 482.1 MB, free: 8.559 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001169/0.3826, allocations: 0.9932 MB / 483.1 MB, free: 7.73 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004056/0.383, allocations: 241.2 kB / 483.4 MB, free: 7.57 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001546/0.3832, allocations: 127.6 kB / 483.5 MB, free: 7.492 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.229e-05/0.3832, allocations: 12.11 kB / 483.5 MB, free: 7.48 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00023/0.3835, allocations: 150.8 kB / 483.6 MB, free: 7.359 MB / 346.7 MB Notification: Performance of pre-optimization done (n=22): time 1.443e-06/0.3835, allocations: 4 kB / 483.6 MB, free: 7.355 MB / 346.7 MB Notification: Performance of matching and sorting (n=22): time 0.0003628/0.3839, allocations: 239.1 kB / 483.9 MB, free: 7.184 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.421e-05/0.3839, allocations: 55.41 kB / 483.9 MB, free: 7.117 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001362/0.384, allocations: 174.6 kB / 484.1 MB, free: 6.969 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.315e-05/0.3841, allocations: 29.7 kB / 484.1 MB, free: 6.934 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.996e-05/0.3841, allocations: 170.6 kB / 484.3 MB, free: 6.793 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.662e-05/0.3842, allocations: 70.56 kB / 484.4 MB, free: 6.73 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.552e-05/0.3842, allocations: 0 / 484.4 MB, free: 6.73 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.584e-05/0.3843, allocations: 337.7 kB / 484.7 MB, free: 6.402 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001206/0.3844, allocations: 92.42 kB / 484.8 MB, free: 6.352 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001303/0.3845, allocations: 128 kB / 484.9 MB, free: 6.258 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001325/0.3847, allocations: 96.08 kB / 485 MB, free: 6.199 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.3847, allocations: 0 / 485 MB, free: 6.199 MB / 346.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003536/0.385, allocations: 288.4 kB / 485.3 MB, free: 5.996 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.092e-05/0.3851, allocations: 37.69 kB / 485.3 MB, free: 5.953 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.3851, allocations: 0 / 485.3 MB, free: 5.953 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.3851, allocations: 0 / 485.3 MB, free: 5.953 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003044/0.3854, allocations: 74.08 kB / 485.4 MB, free: 5.883 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.3854, allocations: 0 / 485.4 MB, free: 5.883 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002237/0.3857, allocations: 43.91 kB / 485.4 MB, free: 5.84 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.357e-05/0.3857, allocations: 10.56 kB / 485.5 MB, free: 5.832 MB / 346.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 ($whenCondition1,$PRE.simFasBui.powElePul.T_start,simFasBui.powElePul.T_start,$PRE.simFasBui.powElePul.count,simFasBui.powElePul.count) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.738e-05/0.3858, allocations: 110.3 kB / 485.6 MB, free: 5.719 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000276/0.386, allocations: 242.5 kB / 485.8 MB, free: 5.539 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.553e-05/0.3861, allocations: 19.72 kB / 485.8 MB, free: 5.52 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003367/0.3864, allocations: 260 kB / 486.1 MB, free: 5.336 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.3864, allocations: 0 / 486.1 MB, free: 5.336 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.3864, allocations: 0 / 486.1 MB, free: 5.336 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.3865, allocations: 4 kB / 486.1 MB, free: 5.332 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002446/0.3867, allocations: 329.2 kB / 486.4 MB, free: 5.051 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.3867, allocations: 11.2 kB / 486.4 MB, free: 5.043 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002955/0.387, allocations: 55.95 kB / 486.5 MB, free: 4.988 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.387, allocations: 4 kB / 486.5 MB, free: 4.984 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.009e-05/0.3871, allocations: 7.438 kB / 486.5 MB, free: 4.98 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.3871, allocations: 3.594 kB / 486.5 MB, free: 4.98 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.3871, allocations: 3.984 kB / 486.5 MB, free: 4.977 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004564/0.3875, allocations: 403.5 kB / 486.9 MB, free: 4.695 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.682e-05/0.3876, allocations: 104.7 kB / 487 MB, free: 4.574 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.893e-05/0.3876, allocations: 6.875 kB / 487 MB, free: 4.57 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001817/0.3878, allocations: 28.03 kB / 487 MB, free: 4.543 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.935e-05/0.3879, allocations: 23.89 kB / 487 MB, free: 4.523 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.74e-05/0.3879, allocations: 11.88 kB / 487 MB, free: 4.516 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.532e-05/0.388, allocations: 145 kB / 487.2 MB, free: 4.398 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.388, allocations: 4 kB / 487.2 MB, free: 4.395 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000279/0.3883, allocations: 63.78 kB / 487.3 MB, free: 4.332 MB / 346.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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005987/0.3889, allocations: 0.9354 MB / 488.2 MB, free: 3.5 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003208/0.3892, allocations: 277.3 kB / 488.5 MB, free: 3.297 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3892, allocations: 0 / 488.5 MB, free: 3.297 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001335/0.3894, allocations: 111 kB / 488.6 MB, free: 3.227 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000243/0.3896, allocations: 27.17 kB / 488.6 MB, free: 3.207 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009481/0.3906, allocations: 0.5475 MB / 489.1 MB, free: 2.695 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001597/0.3908, allocations: 0.7826 MB / 489.9 MB, free: 1.891 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001261/0.3909, allocations: 33.84 kB / 490 MB, free: 1.859 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/0.391, allocations: 76.78 kB / 490 MB, free: 1.844 MB / 346.7 MB Notification: Performance of SimCode: time 2.6e-07/0.391, allocations: 0 / 490 MB, free: 1.844 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02214/0.4132, allocations: 4.291 MB / 494.3 MB, free: 13.64 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002004/0.4134, allocations: 142.7 kB / 494.5 MB, free: 13.44 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.531/1.944, allocations: 0 / 494.5 MB, free: 13.44 MB / 362.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_FastBuildings_FastBuildings_Examples_SingleZone_ArtificialInputs_fmu --startTime=0 --stopTime=604800 --timeout=50 --tolerance=1e-06 FastBuildings_FastBuildings_Examples_SingleZone_ArtificialInputs.fmu > FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.pipe 2>&1)