Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr FastBuildings_FastBuildings.Examples.TwoZone_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.TwoZone_ArtificialInputs,fileNamePrefix="FastBuildings_FastBuildings_Examples_TwoZone_ArtificialInputs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(FastBuildings.Examples.TwoZone_ArtificialInputs,fileNamePrefix="FastBuildings_FastBuildings_Examples_TwoZone_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.0007383/0.0007381, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.00661/0.006611, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.256/1.256, allocations: 223.3 MB / 240.3 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 1.356/1.356, allocations: 4.62 MB / 296 MB, free: 4.047 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003053/0.0003053, allocations: 12 kB / 358.4 MB, free: 2.043 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09698/0.0973, allocations: 51.5 MB / 409.9 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.TwoZone_ArtificialInputs): time 0.003961/0.1013, allocations: 3.799 MB / 413.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001349/0.1027, allocations: 0.8764 MB / 414.6 MB, free: 9.801 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001693/0.1029, allocations: 11.94 kB / 414.6 MB, free: 9.789 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001582/0.103, allocations: 63.53 kB / 414.6 MB, free: 9.727 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002628/0.1033, allocations: 138.9 kB / 414.8 MB, free: 9.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003361/0.1037, allocations: 159.8 kB / 414.9 MB, free: 9.434 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005995/0.1043, allocations: 0.6934 MB / 415.6 MB, free: 8.738 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006198/0.1049, allocations: 453.9 kB / 416.1 MB, free: 8.281 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002405/0.1051, allocations: 203.1 kB / 416.3 MB, free: 8.082 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002489/0.1054, allocations: 222.8 kB / 416.5 MB, free: 7.863 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.7e-05/0.1055, allocations: 32 kB / 416.5 MB, free: 7.832 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.282e-05/0.1056, allocations: 28 kB / 416.5 MB, free: 7.805 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.131e-05/0.1056, allocations: 87.56 kB / 416.6 MB, free: 7.719 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002392/0.1059, allocations: 296.3 kB / 416.9 MB, free: 7.422 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005915/0.1065, allocations: 0.7672 MB / 417.7 MB, free: 6.652 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1065, allocations: 3.938 kB / 417.7 MB, free: 6.648 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1065, allocations: 0 / 417.7 MB, free: 6.648 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.183e-06/0.1065, allocations: 0 / 417.7 MB, free: 6.648 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.001344/0.1079, allocations: 0.7939 MB / 418.5 MB, free: 5.797 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.1079, allocations: 8.031 kB / 418.5 MB, free: 5.789 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.966e-05/0.108, allocations: 90.7 kB / 418.6 MB, free: 5.691 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001015/0.1081, allocations: 60.28 kB / 418.6 MB, free: 5.633 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004056/0.1085, allocations: 375.1 kB / 419 MB, free: 5.23 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.102e-05/0.1086, allocations: 37.38 kB / 419 MB, free: 5.195 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.342e-05/0.1087, allocations: 48.38 kB / 419.1 MB, free: 5.148 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001087/0.1098, allocations: 0.6044 MB / 419.7 MB, free: 4.527 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.1098, allocations: 4 kB / 419.7 MB, free: 4.523 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.818e-05/0.1098, allocations: 20 kB / 419.7 MB, free: 4.504 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.273e-05/0.1099, allocations: 15.98 kB / 419.7 MB, free: 4.488 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009794/0.1108, allocations: 499.6 kB / 420.2 MB, free: 4 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002407/0.1133, allocations: 1.918 MB / 422.1 MB, free: 1.988 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008237/0.1141, allocations: 449.8 kB / 422.6 MB, free: 1.531 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005301/0.1146, allocations: 298.2 kB / 422.9 MB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.145e-05/0.1147, allocations: 8.266 kB / 422.9 MB, free: 1.227 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006059/0.1153, allocations: 329.8 kB / 423.2 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of pre-optimization done (n=38): time 1.643e-06/0.1153, allocations: 0 / 423.2 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of matching and sorting (n=38): time 0.001459/0.1168, allocations: 0.6978 MB / 423.9 MB, free: 188 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.536e-05/0.1168, allocations: 81.11 kB / 424 MB, free: 88 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1652/0.2821, allocations: 329.8 kB / 424.3 MB, free: 45.7 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001219/0.2822, allocations: 35.14 kB / 424.3 MB, free: 45.67 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002053/0.2824, allocations: 254.8 kB / 424.6 MB, free: 45.59 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001191/0.2826, allocations: 131.8 kB / 424.7 MB, free: 45.53 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.678e-05/0.2826, allocations: 41.91 kB / 424.7 MB, free: 45.51 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.745e-05/0.2827, allocations: 352.7 kB / 425.1 MB, free: 45.2 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005218/0.2833, allocations: 214.2 kB / 425.3 MB, free: 45.2 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005803/0.2839, allocations: 291.1 kB / 425.6 MB, free: 45.13 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001089/0.285, allocations: 0.5254 MB / 426.1 MB, free: 45.03 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.285, allocations: 3.844 kB / 426.1 MB, free: 45.03 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001052/0.286, allocations: 0.616 MB / 426.7 MB, free: 44.94 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.396e-05/0.2861, allocations: 42.88 kB / 426.8 MB, free: 44.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.2861, allocations: 0 / 426.8 MB, free: 44.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/0.2861, allocations: 9.812 kB / 426.8 MB, free: 44.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005205/0.2866, allocations: 127.8 kB / 426.9 MB, free: 44.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.2867, allocations: 6.578 kB / 426.9 MB, free: 44.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003709/0.287, allocations: 77.86 kB / 427 MB, free: 44.89 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.192e-05/0.2871, allocations: 23.22 kB / 427 MB, free: 44.89 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (51): * Single equations (assignments): 50 * 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.0002328/0.2873, allocations: 210.2 kB / 427.2 MB, free: 44.77 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.036e-05/0.2874, allocations: 31.88 kB / 427.2 MB, free: 44.76 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008077/0.2882, allocations: 487.6 kB / 427.7 MB, free: 44.71 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.2882, allocations: 2.875 kB / 427.7 MB, free: 44.71 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.2882, allocations: 0 / 427.7 MB, free: 44.71 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.2882, allocations: 0 / 427.7 MB, free: 44.71 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005068/0.2887, allocations: 0.6048 MB / 428.3 MB, free: 44.51 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.2887, allocations: 0.75 kB / 428.3 MB, free: 44.51 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005117/0.2893, allocations: 118.9 kB / 428.4 MB, free: 44.51 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.389e-06/0.2893, allocations: 3.062 kB / 428.4 MB, free: 44.51 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.175e-05/0.2893, allocations: 20.23 kB / 428.5 MB, free: 44.51 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.2893, allocations: 0 / 428.5 MB, free: 44.51 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.2893, allocations: 3.188 kB / 428.5 MB, free: 44.51 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001388/0.2907, allocations: 0.8163 MB / 429.3 MB, free: 44.42 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.26e-05/0.2908, allocations: 116.8 kB / 429.4 MB, free: 44.3 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.229e-05/0.2909, allocations: 14.84 kB / 429.4 MB, free: 44.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002739/0.2911, allocations: 45.8 kB / 429.5 MB, free: 44.29 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.412e-05/0.2912, allocations: 32.78 kB / 429.5 MB, free: 44.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.301e-05/0.2913, allocations: 13.14 kB / 429.5 MB, free: 44.29 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001885/0.2915, allocations: 241.5 kB / 429.7 MB, free: 44.21 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2915, allocations: 0 / 429.7 MB, free: 44.21 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003716/0.2918, allocations: 135.1 kB / 429.9 MB, free: 44.19 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (bui.zon1.capZon.heaPor.T,bui.zon1.capWal.heaPor.T,bui.zon1.capInt.heaPor.T,bui.zon2.capZon.heaPor.T,bui.bou.capWal.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 (38): * Single equations (assignments): 36 * 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.001433/0.2933, allocations: 1.384 MB / 431.3 MB, free: 43.54 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009736/0.2943, allocations: 0.5425 MB / 431.8 MB, free: 43.46 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.2943, allocations: 4.312 kB / 431.8 MB, free: 43.46 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004357/0.2947, allocations: 264 kB / 432.1 MB, free: 43.45 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004061/0.2951, allocations: 59.38 kB / 432.1 MB, free: 43.44 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005229/0.3004, allocations: 4.812 MB / 436.9 MB, free: 40.65 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002317/0.3006, allocations: 0.87 MB / 437.8 MB, free: 39.93 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002008/0.3008, allocations: 52.36 kB / 437.9 MB, free: 39.93 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001912/0.301, allocations: 163 kB / 438 MB, free: 39.8 MB / 350.1 MB Notification: Performance of SimCode: time 6.71e-07/0.301, allocations: 0 / 438 MB, free: 39.8 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1623/0.4633, allocations: 7.992 MB / 446 MB, free: 39.27 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002/0.4635, allocations: 202 kB / 446.2 MB, free: 39.01 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.901/2.364, allocations: 3.828 kB / 446.2 MB, free: 39.01 MB / 350.1 MB (rm -f FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.pipe ; mkfifo FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.pipe >> ../files/FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_FastBuildings_FastBuildings_Examples_TwoZone_ArtificialInputs_fmu --startTime=0 --stopTime=604800 --timeout=50 --tolerance=1e-06 FastBuildings_FastBuildings_Examples_TwoZone_ArtificialInputs.fmu > FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.pipe 2>&1)