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.001205/0.001205, allocations: 174.5 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.02561/0.02561, allocations: 4.535 MB / 17.8 MB, free: 2.512 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 221.4 MB / 240.8 MB, free: 8.766 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009385/0.0009386, allocations: 97.72 kB / 292.8 MB, free: 7.969 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.946e-05/2.964e-05, allocations: 0 / 352.3 MB, free: 12.47 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2585/0.2586, allocations: 51.47 MB / 403.7 MB, free: 28.53 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09779/0.3564, allocations: 78.73 MB / 482.5 MB, free: 13.7 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001655/0.3567, allocations: 52.64 kB / 482.5 MB, free: 13.65 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01571/0.3724, allocations: 5.813 MB / 488.3 MB, free: 7.82 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3724, allocations: 0 / 488.3 MB, free: 7.82 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.256e-05/0.3724, allocations: 8 kB / 488.3 MB, free: 7.812 MB / 362.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.001021/0.3735, allocations: 0.5769 MB / 488.9 MB, free: 7.188 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.151e-05/0.3735, allocations: 12.03 kB / 488.9 MB, free: 7.176 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.877e-05/0.3736, allocations: 62.53 kB / 489 MB, free: 7.105 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.502e-05/0.3737, allocations: 31.62 kB / 489 MB, free: 7.074 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003829/0.3741, allocations: 275.3 kB / 489.3 MB, free: 6.762 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.365e-05/0.3742, allocations: 16.56 kB / 489.3 MB, free: 6.742 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.574e-05/0.3742, allocations: 28 kB / 489.3 MB, free: 6.715 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005225/0.3748, allocations: 299.7 kB / 489.6 MB, free: 6.41 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.3748, allocations: 0 / 489.6 MB, free: 6.41 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.942e-05/0.3748, allocations: 8 kB / 489.6 MB, free: 6.402 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.237e-06/0.3748, allocations: 8 kB / 489.6 MB, free: 6.395 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003914/0.3752, allocations: 222.1 kB / 489.9 MB, free: 6.18 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001626/0.3769, allocations: 1.049 MB / 490.9 MB, free: 5.059 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005326/0.3774, allocations: 259.4 kB / 491.2 MB, free: 4.797 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002071/0.3776, allocations: 125.2 kB / 491.3 MB, free: 4.672 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.868e-05/0.3777, allocations: 16.05 kB / 491.3 MB, free: 4.656 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002841/0.378, allocations: 157.6 kB / 491.5 MB, free: 4.492 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 1.714e-06/0.378, allocations: 3.938 kB / 491.5 MB, free: 4.488 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.0004876/0.3785, allocations: 249.4 kB / 491.7 MB, free: 4.242 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.239e-05/0.3785, allocations: 59.41 kB / 491.8 MB, free: 4.172 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002187/0.3788, allocations: 208.8 kB / 492 MB, free: 3.961 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.181e-05/0.3788, allocations: 29.7 kB / 492 MB, free: 3.926 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/0.3789, allocations: 168.1 kB / 492.2 MB, free: 3.758 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.715e-05/0.379, allocations: 71 kB / 492.2 MB, free: 3.688 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.693e-05/0.379, allocations: 4 kB / 492.2 MB, free: 3.684 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.3792, allocations: 342.7 kB / 492.6 MB, free: 3.34 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001697/0.3794, allocations: 91.98 kB / 492.7 MB, free: 3.25 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001943/0.3796, allocations: 139.4 kB / 492.8 MB, free: 3.102 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002332/0.3798, allocations: 134.6 kB / 492.9 MB, free: 2.961 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.3798, allocations: 0 / 492.9 MB, free: 2.961 MB / 362.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000506/0.3803, allocations: 331.1 kB / 493.3 MB, free: 2.629 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.815e-05/0.3804, allocations: 33.7 kB / 493.3 MB, free: 2.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.3804, allocations: 0 / 493.3 MB, free: 2.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.3804, allocations: 4.094 kB / 493.3 MB, free: 2.586 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000334/0.3807, allocations: 71.89 kB / 493.4 MB, free: 2.516 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.3808, allocations: 0 / 493.4 MB, free: 2.516 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002512/0.381, allocations: 51.72 kB / 493.4 MB, free: 2.465 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.589e-05/0.3811, allocations: 15.98 kB / 493.4 MB, free: 2.449 MB / 362.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 0.0001184/0.3812, allocations: 130.8 kB / 493.6 MB, free: 2.316 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.682e-05/0.3812, allocations: 19.81 kB / 493.6 MB, free: 2.297 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004904/0.3817, allocations: 275.4 kB / 493.8 MB, free: 2.02 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.3817, allocations: 4 kB / 493.8 MB, free: 2.016 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.3818, allocations: 0 / 493.8 MB, free: 2.016 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.3818, allocations: 0 / 493.8 MB, free: 2.016 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004169/0.3822, allocations: 397.2 kB / 494.2 MB, free: 1.578 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.3822, allocations: 0 / 494.2 MB, free: 1.578 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003204/0.3825, allocations: 59.95 kB / 494.3 MB, free: 1.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.3825, allocations: 0 / 494.3 MB, free: 1.52 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.346e-05/0.3826, allocations: 4 kB / 494.3 MB, free: 1.516 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.3826, allocations: 4 kB / 494.3 MB, free: 1.512 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.3826, allocations: 0 / 494.3 MB, free: 1.512 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006603/0.3833, allocations: 427.6 kB / 494.7 MB, free: 1.078 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.671e-05/0.3833, allocations: 104.8 kB / 494.8 MB, free: 0.957 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.816e-05/0.3834, allocations: 4 kB / 494.8 MB, free: 0.9531 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002082/0.3836, allocations: 31.97 kB / 494.9 MB, free: 0.9219 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.292e-05/0.3837, allocations: 19.97 kB / 494.9 MB, free: 0.9023 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.109e-05/0.3837, allocations: 16.05 kB / 494.9 MB, free: 0.8867 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001461/0.3839, allocations: 161.4 kB / 495 MB, free: 0.7305 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.11e-07/0.3839, allocations: 4 kB / 495.1 MB, free: 0.7266 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002806/0.3842, allocations: 71.78 kB / 495.1 MB, free: 0.6562 MB / 362.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.0009316/0.3851, allocations: 0.9627 MB / 496.1 MB, free: 15.67 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004506/0.3856, allocations: 304.3 kB / 496.4 MB, free: 15.36 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3856, allocations: 0 / 496.4 MB, free: 15.36 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001961/0.3858, allocations: 115.5 kB / 496.5 MB, free: 15.25 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002565/0.3861, allocations: 32.42 kB / 496.5 MB, free: 15.22 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001149/0.3872, allocations: 0.5553 MB / 497.1 MB, free: 14.63 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000327/0.3876, allocations: 0.7831 MB / 497.9 MB, free: 13.82 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001661/0.3877, allocations: 41.5 kB / 497.9 MB, free: 13.77 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001475/0.3879, allocations: 83.41 kB / 498 MB, free: 13.69 MB / 378.7 MB Notification: Performance of SimCode: time 3.01e-07/0.3879, allocations: 0 / 498 MB, free: 13.69 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01637/0.4043, allocations: 4.852 MB / 0.4911 GB, free: 8.984 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002411/0.4046, allocations: 151 kB / 0.4912 GB, free: 8.762 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.665/2.07, allocations: 0 / 0.4912 GB, free: 8.762 MB / 378.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)