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.001343/0.001343, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001341/0.001341, allocations: 192.6 kB / 16.13 MB, free: 6.664 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.211/1.211, allocations: 222.9 MB / 239.8 MB, free: 4.531 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.627 MB / 294.6 MB, free: 3.109 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001112/0.001112, allocations: 59.91 kB / 356 MB, free: 2.93 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08367/0.08479, allocations: 50.5 MB / 406.5 MB, free: 388 kB / 334.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_ArtificialInputs): time 0.003695/0.08853, allocations: 3.013 MB / 409.5 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009488/0.0895, allocations: 0.6818 MB / 410.1 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001003/0.08961, allocations: 4 kB / 410.2 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001584/0.08978, allocations: 31.7 kB / 410.2 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001434/0.08993, allocations: 71.39 kB / 410.3 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002586/0.0902, allocations: 99.94 kB / 410.4 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003159/0.09052, allocations: 374.5 kB / 410.7 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003162/0.09085, allocations: 217.2 kB / 410.9 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001623/0.09102, allocations: 127.5 kB / 411.1 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001566/0.09118, allocations: 143.4 kB / 411.2 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.573e-05/0.09123, allocations: 24 kB / 411.2 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.895e-05/0.09129, allocations: 24 kB / 411.2 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.699e-05/0.09136, allocations: 63.77 kB / 411.3 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001382/0.0915, allocations: 155.2 kB / 411.5 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003156/0.09183, allocations: 411 kB / 411.9 MB, free: 10.94 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.09184, allocations: 3.984 kB / 411.9 MB, free: 10.94 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.09184, allocations: 0 / 411.9 MB, free: 10.94 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.09186, allocations: 0 / 411.9 MB, free: 10.94 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.001046/0.09291, allocations: 0.6454 MB / 412.5 MB, free: 10.24 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.09295, allocations: 8.031 kB / 412.5 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.274e-05/0.09302, allocations: 58.72 kB / 412.6 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.949e-05/0.09309, allocations: 32.56 kB / 412.6 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002725/0.09337, allocations: 276.7 kB / 412.9 MB, free: 9.824 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.026e-05/0.0934, allocations: 20.88 kB / 412.9 MB, free: 9.805 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.695e-05/0.09345, allocations: 28.36 kB / 412.9 MB, free: 9.777 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006301/0.09409, allocations: 335.8 kB / 413.2 MB, free: 9.438 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.09411, allocations: 11.92 kB / 413.3 MB, free: 9.426 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.953e-05/0.09414, allocations: 8 kB / 413.3 MB, free: 9.418 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.09416, allocations: 8 kB / 413.3 MB, free: 9.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006117/0.09477, allocations: 282 kB / 413.5 MB, free: 9.137 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001341/0.09612, allocations: 1.037 MB / 414.6 MB, free: 8.031 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000672/0.09681, allocations: 298.6 kB / 414.9 MB, free: 7.73 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003152/0.09713, allocations: 156.8 kB / 415 MB, free: 7.574 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.007e-05/0.09717, allocations: 11.98 kB / 415 MB, free: 7.562 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003861/0.09756, allocations: 199.1 kB / 415.2 MB, free: 7.355 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.513e-06/0.09758, allocations: 0 / 415.2 MB, free: 7.355 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009406/0.09852, allocations: 416.2 kB / 415.6 MB, free: 6.945 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.326e-05/0.09857, allocations: 59.34 kB / 415.7 MB, free: 6.875 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001965/0.09877, allocations: 236.9 kB / 415.9 MB, free: 6.637 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/0.0988, allocations: 25.7 kB / 416 MB, free: 6.605 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.586e-05/0.0989, allocations: 172.1 kB / 416.1 MB, free: 6.434 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.271e-05/0.09897, allocations: 74.98 kB / 416.2 MB, free: 6.359 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.897e-05/0.09906, allocations: 53.61 kB / 416.3 MB, free: 6.301 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.869e-05/0.09917, allocations: 330.8 kB / 416.6 MB, free: 5.969 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002964/0.09947, allocations: 131.9 kB / 416.7 MB, free: 5.84 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000299/0.09978, allocations: 163.3 kB / 416.9 MB, free: 5.668 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005589/0.1003, allocations: 305.9 kB / 417.2 MB, free: 5.348 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.1004, allocations: 0 / 417.2 MB, free: 5.348 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007023/0.1011, allocations: 393.8 kB / 417.5 MB, free: 4.953 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.358e-05/0.1011, allocations: 35.58 kB / 417.6 MB, free: 4.914 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.1011, allocations: 0 / 417.6 MB, free: 4.914 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.1011, allocations: 4 kB / 417.6 MB, free: 4.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003069/0.1014, allocations: 63.89 kB / 417.6 MB, free: 4.848 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.1015, allocations: 7.984 kB / 417.7 MB, free: 4.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000239/0.1017, allocations: 43.88 kB / 417.7 MB, free: 4.797 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.275e-05/0.1017, allocations: 4 kB / 417.7 MB, free: 4.793 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.0001509/0.1019, allocations: 170 kB / 417.9 MB, free: 4.617 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.717e-05/0.1019, allocations: 23.66 kB / 417.9 MB, free: 4.594 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007232/0.1027, allocations: 328.7 kB / 418.2 MB, free: 4.266 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.1027, allocations: 4 kB / 418.2 MB, free: 4.262 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.1027, allocations: 0 / 418.2 MB, free: 4.262 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.1027, allocations: 0 / 418.2 MB, free: 4.262 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004354/0.1031, allocations: 389.3 kB / 418.6 MB, free: 3.832 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.1032, allocations: 0 / 418.6 MB, free: 3.832 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003166/0.1035, allocations: 59.83 kB / 418.7 MB, free: 3.773 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.1035, allocations: 7.938 kB / 418.7 MB, free: 3.766 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.567e-05/0.1035, allocations: 4 kB / 418.7 MB, free: 3.762 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.1035, allocations: 0 / 418.7 MB, free: 3.762 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.1035, allocations: 7.984 kB / 418.7 MB, free: 3.754 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001015/0.1046, allocations: 496.3 kB / 419.2 MB, free: 3.254 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.838e-05/0.1047, allocations: 104.8 kB / 419.3 MB, free: 3.133 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.706e-05/0.1047, allocations: 20 kB / 419.3 MB, free: 3.113 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001959/0.1049, allocations: 19.97 kB / 419.3 MB, free: 3.094 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/0.105, allocations: 27.91 kB / 419.3 MB, free: 3.066 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.02e-05/0.105, allocations: 7.984 kB / 419.3 MB, free: 3.059 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001524/0.1052, allocations: 172.5 kB / 419.5 MB, free: 2.891 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1052, allocations: 0 / 419.5 MB, free: 2.891 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002749/0.1055, allocations: 67.75 kB / 419.6 MB, free: 2.824 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.001246/0.1067, allocations: 1.037 MB / 420.6 MB, free: 1.762 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007098/0.1075, allocations: 351.1 kB / 420.9 MB, free: 1.406 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1075, allocations: 0 / 420.9 MB, free: 1.406 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003137/0.1078, allocations: 147.8 kB / 421.1 MB, free: 1.262 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003122/0.1081, allocations: 40.55 kB / 421.1 MB, free: 1.223 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.146/0.2542, allocations: 3.026 MB / 424.2 MB, free: 47.54 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001743/0.2544, allocations: 0.7725 MB / 424.9 MB, free: 46.84 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001515/0.2545, allocations: 30.95 kB / 425 MB, free: 46.84 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001191/0.2547, allocations: 83.44 kB / 425 MB, free: 46.84 MB / 350.1 MB Notification: Performance of SimCode: time 9.51e-07/0.2547, allocations: 3.188 kB / 425 MB, free: 46.84 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8197/1.074, allocations: 5.037 MB / 430.1 MB, free: 46.55 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001744/1.075, allocations: 203.4 kB / 430.3 MB, free: 46.3 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.885/2.959, allocations: 4 kB / 430.3 MB, free: 46.3 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)