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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 80.44 kB / 19.17 MB, free: 0.7383 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 165.9 kB / 22.45 MB, free: 2.098 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9062/0.9062, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.01414/0.01414, allocations: 3.578 MB / 262.8 MB, free: 9.801 MB / 250.7 MB " [Timeout remaining time 180] Using package FastBuildings with version 0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 386.8 MB, free: 9.879 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.817e-05/2.011e-05, allocations: 6.281 kB / 386.8 MB, free: 9.871 MB / 314.7 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.TwoZone_ArtificialInputs): time 0.00382/0.00384, allocations: 3.654 MB / 390.5 MB, free: 6.199 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001318/0.005158, allocations: 0.962 MB / 391.5 MB, free: 5.23 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001951/0.005353, allocations: 15.94 kB / 391.5 MB, free: 5.215 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001984/0.005551, allocations: 83.16 kB / 391.6 MB, free: 5.133 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002181/0.00577, allocations: 174.4 kB / 391.7 MB, free: 4.961 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004359/0.006205, allocations: 199.7 kB / 391.9 MB, free: 4.766 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005695/0.006775, allocations: 0.7829 MB / 392.7 MB, free: 3.98 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004177/0.007193, allocations: 340.7 kB / 393 MB, free: 3.633 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004141/0.007607, allocations: 447.2 kB / 393.5 MB, free: 3.195 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000212/0.007819, allocations: 219.4 kB / 393.7 MB, free: 2.98 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.552e-05/0.007884, allocations: 84 kB / 393.8 MB, free: 2.898 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.738e-05/0.007982, allocations: 88 kB / 393.9 MB, free: 2.812 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.037e-05/0.008072, allocations: 155.6 kB / 394 MB, free: 2.66 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001749/0.008247, allocations: 243.5 kB / 394.2 MB, free: 2.422 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000638/0.008885, allocations: 0.8609 MB / 395.1 MB, free: 1.559 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.78e-06/0.008891, allocations: 7.984 kB / 395.1 MB, free: 1.551 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.008892, allocations: 0 / 395.1 MB, free: 1.551 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.568e-06/0.008902, allocations: 0 / 395.1 MB, free: 1.551 MB / 314.7 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.001101/0.01, allocations: 0.834 MB / 396 MB, free: 0.6836 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.01004, allocations: 8.031 kB / 396 MB, free: 0.6758 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.345e-05/0.01012, allocations: 94.7 kB / 396.1 MB, free: 0.5742 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000222/0.01034, allocations: 88.53 kB / 396.1 MB, free: 500 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003576/0.0107, allocations: 333.4 kB / 396.5 MB, free: 136 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.455e-05/0.01072, allocations: 33.38 kB / 396.5 MB, free: 100 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.665e-05/0.01078, allocations: 52.33 kB / 396.5 MB, free: 48 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007056/0.01148, allocations: 0.5893 MB / 397.1 MB, free: 15.44 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.01149, allocations: 192 / 397.1 MB, free: 15.44 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.385e-05/0.01153, allocations: 24.12 kB / 397.2 MB, free: 15.42 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.01154, allocations: 11.94 kB / 397.2 MB, free: 15.41 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008393/0.01238, allocations: 471.7 kB / 397.6 MB, free: 14.95 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001573/0.01395, allocations: 1.562 MB / 399.2 MB, free: 13.34 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004782/0.01443, allocations: 405.6 kB / 399.6 MB, free: 12.92 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002955/0.01472, allocations: 261.9 kB / 399.8 MB, free: 12.66 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.237e-05/0.01476, allocations: 4.281 kB / 399.9 MB, free: 12.66 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003789/0.01513, allocations: 317.5 kB / 400.2 MB, free: 12.33 MB / 330.7 MB Notification: Performance of pre-optimization done (n=38): time 2.204e-06/0.01514, allocations: 0 / 400.2 MB, free: 12.33 MB / 330.7 MB Notification: Performance of matching and sorting (n=38): time 0.0008739/0.01601, allocations: 0.6513 MB / 400.8 MB, free: 11.68 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.707e-05/0.01606, allocations: 93.02 kB / 400.9 MB, free: 11.57 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002475/0.01631, allocations: 344.5 kB / 401.2 MB, free: 11.22 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.797e-05/0.01633, allocations: 33.7 kB / 401.3 MB, free: 11.18 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001245/0.01646, allocations: 268.4 kB / 401.5 MB, free: 10.91 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.817e-05/0.01654, allocations: 138.8 kB / 401.7 MB, free: 10.78 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.755e-05/0.01662, allocations: 70.2 kB / 401.7 MB, free: 10.7 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.316e-05/0.01672, allocations: 350.8 kB / 402.1 MB, free: 10.35 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002724/0.01699, allocations: 230.6 kB / 402.3 MB, free: 10.12 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002882/0.01728, allocations: 301.8 kB / 402.6 MB, free: 9.793 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005385/0.01782, allocations: 0.506 MB / 403.1 MB, free: 9.258 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.01782, allocations: 0 / 403.1 MB, free: 9.258 MB / 330.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006727/0.01849, allocations: 0.6346 MB / 403.7 MB, free: 8.605 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.256e-05/0.01852, allocations: 29.7 kB / 403.8 MB, free: 8.57 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.01853, allocations: 4 kB / 403.8 MB, free: 8.566 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.01854, allocations: 4.188 kB / 403.8 MB, free: 8.562 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003189/0.01886, allocations: 127.8 kB / 403.9 MB, free: 8.438 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.01887, allocations: 4 kB / 403.9 MB, free: 8.434 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001569/0.01903, allocations: 55.64 kB / 404 MB, free: 8.379 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.186e-05/0.01905, allocations: 16 kB / 404 MB, free: 8.363 MB / 330.7 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.0001715/0.01922, allocations: 214.3 kB / 404.2 MB, free: 8.145 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.677e-05/0.01926, allocations: 39.7 kB / 404.2 MB, free: 8.105 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007758/0.02003, allocations: 465.4 kB / 404.7 MB, free: 7.645 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.828e-06/0.02004, allocations: 8 kB / 404.7 MB, free: 7.637 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.02004, allocations: 0 / 404.7 MB, free: 7.637 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.02005, allocations: 3.984 kB / 404.7 MB, free: 7.633 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003872/0.02043, allocations: 0.4925 MB / 405.2 MB, free: 7.098 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.02044, allocations: 4 kB / 405.2 MB, free: 7.094 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002914/0.02073, allocations: 107.9 kB / 405.3 MB, free: 6.988 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.02073, allocations: 4 kB / 405.3 MB, free: 6.984 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.059e-05/0.02075, allocations: 15.98 kB / 405.3 MB, free: 6.969 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.02076, allocations: 0 / 405.3 MB, free: 6.969 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.02076, allocations: 0 / 405.3 MB, free: 6.969 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008726/0.02163, allocations: 0.7948 MB / 406.1 MB, free: 6.152 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.407e-05/0.02167, allocations: 51.64 kB / 406.2 MB, free: 6.102 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.687e-05/0.02171, allocations: 11.98 kB / 406.2 MB, free: 6.09 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.02182, allocations: 19.98 kB / 406.2 MB, free: 6.07 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.103e-05/0.02189, allocations: 39.92 kB / 406.2 MB, free: 6.031 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.806e-05/0.02191, allocations: 12.19 kB / 406.2 MB, free: 6.02 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000163/0.02208, allocations: 243 kB / 406.5 MB, free: 5.785 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02208, allocations: 0 / 406.5 MB, free: 5.785 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002791/0.02235, allocations: 131.7 kB / 406.6 MB, free: 5.656 MB / 330.7 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.001058/0.02341, allocations: 1.339 MB / 407.9 MB, free: 4.285 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006132/0.02403, allocations: 0.5317 MB / 408.5 MB, free: 3.734 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.02403, allocations: 0 / 408.5 MB, free: 3.734 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002653/0.02429, allocations: 231.7 kB / 408.7 MB, free: 3.508 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002794/0.02457, allocations: 58.62 kB / 408.8 MB, free: 3.453 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1278/0.1524, allocations: 4.516 MB / 413.3 MB, free: 35.4 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002147/0.1526, allocations: 267 kB / 413.5 MB, free: 35.32 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001927/0.1528, allocations: 65.44 kB / 413.6 MB, free: 35.32 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001748/0.1529, allocations: 158.3 kB / 413.8 MB, free: 35.31 MB / 330.7 MB Notification: Performance of SimCode: time 1.313e-06/0.1529, allocations: 0 / 413.8 MB, free: 35.31 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02291/0.1759, allocations: 9.793 MB / 423.5 MB, free: 32.65 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.865/7.041, allocations: 5.594 kB / 423.6 MB, free: 32.65 MB / 330.7 MB " [Timeout remaining time 653] (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 --stepSize=1209.6 --timeout=50 --tolerance=1e-06 FastBuildings_FastBuildings_Examples_TwoZone_ArtificialInputs.fmu > FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.739772588945925] Failed to read output from testmodel.py, exit status != 0: 7.128033699467778 7.135040465 7.124808369 Calling exit ...