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/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001502/0.001502, allocations: 108 kB / 15.6 MB, free: 132 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.001753/0.001753, allocations: 193 kB / 16.53 MB, free: 6.391 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.406/1.406, 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 0.126/0.126, allocations: 4.633 MB / 295 MB, free: 3.125 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 63.91 kB / 356.7 MB, free: 2.441 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07893/0.08021, allocations: 50.51 MB / 407.2 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_ArtificialInputs): time 0.003783/0.08402, allocations: 2.863 MB / 410 MB, free: 13 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001145/0.08518, allocations: 0.6779 MB / 410.7 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001565/0.08535, allocations: 4 kB / 410.7 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001566/0.08553, allocations: 47.52 kB / 410.8 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001879/0.08573, allocations: 87.2 kB / 410.8 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003116/0.08605, allocations: 115.8 kB / 411 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004162/0.08647, allocations: 402.6 kB / 411.3 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003708/0.08685, allocations: 253.6 kB / 411.6 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002231/0.08708, allocations: 147.5 kB / 411.7 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001913/0.08728, allocations: 155.4 kB / 411.9 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.869e-05/0.08735, allocations: 44 kB / 411.9 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.318e-05/0.08742, allocations: 44 kB / 412 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.285e-05/0.0875, allocations: 79.75 kB / 412.1 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001641/0.08767, allocations: 171.3 kB / 412.2 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003584/0.08803, allocations: 427 kB / 412.6 MB, free: 10.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.08804, allocations: 0 / 412.6 MB, free: 10.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.08805, allocations: 0 / 412.6 MB, free: 10.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.887e-06/0.08807, allocations: 4 kB / 412.6 MB, free: 10.38 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.001098/0.08917, allocations: 0.6376 MB / 413.3 MB, free: 9.684 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.08921, allocations: 8.031 kB / 413.3 MB, free: 9.676 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.243e-05/0.08928, allocations: 62.72 kB / 413.3 MB, free: 9.605 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.331e-05/0.08936, allocations: 40.56 kB / 413.4 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002832/0.08965, allocations: 276.7 kB / 413.7 MB, free: 9.258 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/0.08968, allocations: 16.94 kB / 413.7 MB, free: 9.242 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.173e-05/0.08974, allocations: 20.38 kB / 413.7 MB, free: 9.223 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006228/0.09037, allocations: 339.7 kB / 414 MB, free: 8.879 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.09039, allocations: 0 / 414 MB, free: 8.879 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.923e-05/0.09042, allocations: 12 kB / 414 MB, free: 8.867 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.09044, allocations: 8 kB / 414 MB, free: 8.859 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006542/0.0911, allocations: 278 kB / 414.3 MB, free: 8.59 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00144/0.09255, allocations: 1.045 MB / 415.4 MB, free: 7.477 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007258/0.09329, allocations: 314.5 kB / 415.7 MB, free: 7.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003322/0.09363, allocations: 160.7 kB / 415.8 MB, free: 7 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.509e-05/0.09366, allocations: 4 kB / 415.8 MB, free: 6.996 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003915/0.09406, allocations: 196.5 kB / 416 MB, free: 6.793 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.804e-06/0.09407, allocations: 4 kB / 416 MB, free: 6.789 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009962/0.09507, allocations: 419 kB / 416.4 MB, free: 6.375 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.247e-05/0.09513, allocations: 55.41 kB / 416.5 MB, free: 6.309 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002055/0.09534, allocations: 236.9 kB / 416.7 MB, free: 6.07 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.55e-05/0.09537, allocations: 29.7 kB / 416.7 MB, free: 6.035 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.09548, allocations: 172.1 kB / 416.9 MB, free: 5.863 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.079e-05/0.09555, allocations: 67.02 kB / 417 MB, free: 5.797 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.441e-05/0.09565, allocations: 53.59 kB / 417 MB, free: 5.738 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.09576, allocations: 330.8 kB / 417.4 MB, free: 5.406 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003152/0.09608, allocations: 127.9 kB / 417.5 MB, free: 5.281 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003222/0.09641, allocations: 163.3 kB / 417.6 MB, free: 5.109 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006277/0.09705, allocations: 314.6 kB / 418 MB, free: 4.781 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.09706, allocations: 0 / 418 MB, free: 4.781 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007631/0.09783, allocations: 385.8 kB / 418.3 MB, free: 4.395 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.225e-05/0.09788, allocations: 33.69 kB / 418.4 MB, free: 4.355 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.09789, allocations: 4.094 kB / 418.4 MB, free: 4.352 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.09791, allocations: 4 kB / 418.4 MB, free: 4.348 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003189/0.09823, allocations: 63.95 kB / 418.4 MB, free: 4.285 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.402e-05/0.09826, allocations: 7.938 kB / 418.4 MB, free: 4.277 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002095/0.09847, allocations: 27.83 kB / 418.5 MB, free: 4.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.567e-05/0.09851, allocations: 11.98 kB / 418.5 MB, free: 4.238 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 (simFasBui.powElePul.count,$PRE.simFasBui.powElePul.count,simFasBui.powElePul.T_start,$PRE.simFasBui.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.0001526/0.09866, allocations: 160.5 kB / 418.6 MB, free: 4.074 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.897e-05/0.09871, allocations: 31.66 kB / 418.7 MB, free: 4.043 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007364/0.09945, allocations: 328.3 kB / 419 MB, free: 3.715 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.09947, allocations: 0 / 419 MB, free: 3.715 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.09948, allocations: 0 / 419 MB, free: 3.715 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.09948, allocations: 0 / 419 MB, free: 3.715 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003681/0.09986, allocations: 393.2 kB / 419.4 MB, free: 3.281 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.09987, allocations: 0 / 419.4 MB, free: 3.281 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003251/0.1002, allocations: 67.83 kB / 419.4 MB, free: 3.215 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.1002, allocations: 0 / 419.4 MB, free: 3.215 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.345e-05/0.1002, allocations: 15.92 kB / 419.5 MB, free: 3.199 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.1003, allocations: 4 kB / 419.5 MB, free: 3.195 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1003, allocations: 0 / 419.5 MB, free: 3.195 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009993/0.1013, allocations: 498.2 kB / 419.9 MB, free: 2.691 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.164e-05/0.1013, allocations: 108.8 kB / 420 MB, free: 2.566 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.907e-05/0.1014, allocations: 4 kB / 420.1 MB, free: 2.562 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000192/0.1016, allocations: 19.97 kB / 420.1 MB, free: 2.543 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.65e-05/0.1017, allocations: 27.95 kB / 420.1 MB, free: 2.516 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.699e-05/0.1017, allocations: 4 kB / 420.1 MB, free: 2.512 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001443/0.1018, allocations: 176.5 kB / 420.3 MB, free: 2.336 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1018, allocations: 0 / 420.3 MB, free: 2.336 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002813/0.1021, allocations: 71.75 kB / 420.3 MB, free: 2.266 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,simFasBui.powElePul.T_start,simFasBui.powElePul.count) * Number of discrete states: 1 (simFasBui.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.001251/0.1034, allocations: 1.034 MB / 421.4 MB, free: 1.207 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007329/0.1041, allocations: 359 kB / 421.7 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1041, allocations: 256 / 421.7 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003237/0.1045, allocations: 155.8 kB / 421.9 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002877/0.1048, allocations: 32.41 kB / 421.9 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1253/0.2301, allocations: 2.935 MB / 424.8 MB, free: 47.43 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001458/0.2303, allocations: 0.778 MB / 425.6 MB, free: 46.73 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000156/0.2304, allocations: 32.66 kB / 425.7 MB, free: 46.73 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001193/0.2306, allocations: 83.23 kB / 425.7 MB, free: 46.72 MB / 350.1 MB Notification: Performance of SimCode: time 6.52e-07/0.2306, allocations: 0 / 425.7 MB, free: 46.72 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8977/1.128, allocations: 5.374 MB / 431.1 MB, free: 46.3 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.73/11.86, allocations: 8.656 kB / 431.1 MB, free: 46.29 MB / 350.1 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/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)