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.004716/0.004716, allocations: 104.1 kB / 15.74 MB, free: 6.047 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.001105/0.001105, allocations: 193.5 kB / 16.67 MB, free: 5.969 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.304/1.304, allocations: 222.9 MB / 240.4 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.02315/0.02315, allocations: 4.653 MB / 295.2 MB, free: 10.21 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001147/0.001147, allocations: 67.88 kB / 407.8 MB, free: 27.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08027/0.08143, allocations: 50.51 MB / 458.3 MB, free: 8.984 MB / 334.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_ArtificialInputs): time 0.004418/0.0859, allocations: 2.865 MB / 461.2 MB, free: 6.105 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001368/0.0873, allocations: 0.6857 MB / 461.9 MB, free: 5.414 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002172/0.08754, allocations: 11.94 kB / 461.9 MB, free: 5.402 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002033/0.08781, allocations: 43.58 kB / 461.9 MB, free: 5.359 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002382/0.08806, allocations: 83.14 kB / 462 MB, free: 5.277 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000363/0.08843, allocations: 107.9 kB / 462.1 MB, free: 5.172 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004925/0.08893, allocations: 406.5 kB / 462.5 MB, free: 4.773 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004365/0.08938, allocations: 241.7 kB / 462.7 MB, free: 4.535 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002963/0.08969, allocations: 151.5 kB / 462.9 MB, free: 4.387 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003324/0.09003, allocations: 155.4 kB / 463 MB, free: 4.234 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.089e-05/0.09012, allocations: 47.94 kB / 463.1 MB, free: 4.188 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.252e-05/0.0902, allocations: 40 kB / 463.1 MB, free: 4.148 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.493e-05/0.09029, allocations: 75.77 kB / 463.2 MB, free: 4.074 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002178/0.09052, allocations: 183.2 kB / 463.4 MB, free: 3.895 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005268/0.09105, allocations: 430.4 kB / 463.8 MB, free: 3.477 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.09107, allocations: 0 / 463.8 MB, free: 3.477 MB / 334.1 MB Notification: Performance of FrontEnd: time 5.691e-06/0.09108, allocations: 4 kB / 463.8 MB, free: 3.473 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.414e-05/0.0911, allocations: 3.938 kB / 463.8 MB, free: 3.469 MB / 334.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.001453/0.09256, allocations: 0.6376 MB / 464.4 MB, free: 2.777 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.09262, allocations: 12.03 kB / 464.4 MB, free: 2.766 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.449e-05/0.09272, allocations: 58.73 kB / 464.5 MB, free: 2.699 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.449e-05/0.09282, allocations: 32.56 kB / 464.5 MB, free: 2.668 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003873/0.09321, allocations: 272.7 kB / 464.8 MB, free: 2.359 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.283e-05/0.09326, allocations: 20.94 kB / 464.8 MB, free: 2.34 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.743e-05/0.09332, allocations: 24.38 kB / 464.8 MB, free: 2.316 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006715/0.094, allocations: 343.7 kB / 465.2 MB, free: 1.969 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.09402, allocations: 0 / 465.2 MB, free: 1.969 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.011e-05/0.09406, allocations: 12 kB / 465.2 MB, free: 1.957 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.09407, allocations: 4 kB / 465.2 MB, free: 1.953 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006559/0.09473, allocations: 274 kB / 465.5 MB, free: 1.688 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001583/0.09632, allocations: 1.048 MB / 466.5 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007738/0.09711, allocations: 302.6 kB / 466.8 MB, free: 272 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003609/0.09749, allocations: 156.8 kB / 467 MB, free: 112 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.863e-05/0.09753, allocations: 11.98 kB / 467 MB, free: 100 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004425/0.09798, allocations: 185.3 kB / 467.2 MB, free: 15.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 3.055e-06/0.09799, allocations: 0 / 467.2 MB, free: 15.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001079/0.09908, allocations: 428.4 kB / 467.6 MB, free: 15.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.441e-05/0.09915, allocations: 59.39 kB / 467.6 MB, free: 15.41 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002767/0.09944, allocations: 233 kB / 467.9 MB, free: 15.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.491e-05/0.09948, allocations: 29.7 kB / 467.9 MB, free: 15.14 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001495/0.09964, allocations: 168 kB / 468.1 MB, free: 14.97 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.233e-05/0.09973, allocations: 74.98 kB / 468.1 MB, free: 14.9 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000116/0.09985, allocations: 53.7 kB / 468.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001723/0.1, allocations: 330.8 kB / 468.5 MB, free: 14.51 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003468/0.1004, allocations: 131.9 kB / 468.6 MB, free: 14.38 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003505/0.1007, allocations: 159.3 kB / 468.8 MB, free: 14.21 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006931/0.1014, allocations: 315.5 kB / 469.1 MB, free: 13.88 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.1015, allocations: 0 / 469.1 MB, free: 13.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008325/0.1023, allocations: 389.8 kB / 469.5 MB, free: 13.49 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.23e-05/0.1024, allocations: 37.7 kB / 469.5 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.1024, allocations: 0 / 469.5 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.046e-05/0.1024, allocations: 4 kB / 469.5 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003457/0.1028, allocations: 59.95 kB / 469.6 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.1028, allocations: 8.031 kB / 469.6 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002384/0.103, allocations: 39.72 kB / 469.6 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.765e-05/0.1031, allocations: 8 kB / 469.6 MB, free: 13.33 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.0001849/0.1033, allocations: 158 kB / 469.8 MB, free: 13.17 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.481e-05/0.1033, allocations: 23.66 kB / 469.8 MB, free: 13.14 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007773/0.1041, allocations: 335.5 kB / 470.1 MB, free: 12.81 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.1041, allocations: 7.938 kB / 470.1 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.1041, allocations: 0 / 470.1 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.1041, allocations: 3.984 kB / 470.1 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004048/0.1046, allocations: 385.3 kB / 470.5 MB, free: 12.37 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.1046, allocations: 0 / 470.5 MB, free: 12.37 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003265/0.1049, allocations: 59.83 kB / 470.6 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.164e-06/0.1049, allocations: 4 kB / 470.6 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.261e-05/0.1049, allocations: 4 kB / 470.6 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.105, allocations: 4 kB / 470.6 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.105, allocations: 3.984 kB / 470.6 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001059/0.106, allocations: 496.6 kB / 471.1 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.137e-05/0.1061, allocations: 108.7 kB / 471.2 MB, free: 11.67 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.431e-05/0.1062, allocations: 4 kB / 471.2 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001842/0.1064, allocations: 19.98 kB / 471.2 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.814e-05/0.1065, allocations: 23.95 kB / 471.2 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.078e-05/0.1065, allocations: 16 kB / 471.2 MB, free: 11.61 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001545/0.1066, allocations: 164.5 kB / 471.4 MB, free: 11.45 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1067, allocations: 0 / 471.4 MB, free: 11.45 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000306/0.107, allocations: 71.84 kB / 471.5 MB, free: 11.38 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.001378/0.1083, allocations: 1.037 MB / 472.5 MB, free: 10.31 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007543/0.1091, allocations: 359 kB / 472.9 MB, free: 9.949 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.1091, allocations: 0 / 472.9 MB, free: 9.949 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000359/0.1095, allocations: 143.8 kB / 473 MB, free: 9.809 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003428/0.1099, allocations: 43.09 kB / 473 MB, free: 9.77 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004361/0.1142, allocations: 2.942 MB / 476 MB, free: 6.719 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003506/0.1146, allocations: 0.771 MB / 476.8 MB, free: 5.922 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001465/0.1148, allocations: 33.53 kB / 476.8 MB, free: 5.891 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001453/0.1149, allocations: 79.41 kB / 476.9 MB, free: 5.812 MB / 350.1 MB Notification: Performance of SimCode: time 7.12e-07/0.1149, allocations: 0 / 476.9 MB, free: 5.812 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02401/0.1389, allocations: 5.39 MB / 482.3 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.808/7.947, allocations: 11.88 kB / 482.3 MB, free: 0.5195 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)