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.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.00118/0.00118, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.001538/0.001538, allocations: 165.9 kB / 22.45 MB, free: 2.117 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.8985/0.8985, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.01348/0.01348, allocations: 3.584 MB / 262.8 MB, free: 9.816 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.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 386.8 MB, free: 9.891 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.344e-05/2.55e-05, allocations: 13.17 kB / 386.9 MB, free: 9.879 MB / 314.7 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_ArtificialInputs): time 0.003596/0.003621, allocations: 2.702 MB / 389.6 MB, free: 7.16 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001223/0.004844, allocations: 0.7478 MB / 390.3 MB, free: 6.406 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001528/0.004997, allocations: 8 kB / 390.3 MB, free: 6.398 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000143/0.00514, allocations: 43.52 kB / 390.4 MB, free: 6.355 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001538/0.005294, allocations: 99.06 kB / 390.5 MB, free: 6.258 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003977/0.005691, allocations: 127.8 kB / 390.6 MB, free: 6.133 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003982/0.00609, allocations: 422.3 kB / 391 MB, free: 5.719 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002621/0.006352, allocations: 162.3 kB / 391.1 MB, free: 5.562 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003285/0.00668, allocations: 235.5 kB / 391.4 MB, free: 5.332 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001567/0.006837, allocations: 123.7 kB / 391.5 MB, free: 5.211 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.472e-05/0.006882, allocations: 40 kB / 391.5 MB, free: 5.172 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.088e-05/0.006963, allocations: 48 kB / 391.6 MB, free: 5.125 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.474e-05/0.007017, allocations: 79.75 kB / 391.7 MB, free: 5.047 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000103/0.00712, allocations: 123.7 kB / 391.8 MB, free: 4.926 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000374/0.007494, allocations: 446.8 kB / 392.2 MB, free: 4.488 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.007498, allocations: 0 / 392.2 MB, free: 4.488 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.007499, allocations: 0 / 392.2 MB, free: 4.488 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.583e-06/0.007506, allocations: 4 kB / 392.2 MB, free: 4.484 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001175/0.008682, allocations: 0.5884 MB / 392.8 MB, free: 3.863 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.008722, allocations: 8.031 kB / 392.8 MB, free: 3.855 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.083e-05/0.008773, allocations: 62.72 kB / 392.9 MB, free: 3.785 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001755/0.008948, allocations: 60.69 kB / 392.9 MB, free: 3.727 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002742/0.009222, allocations: 213.3 kB / 393.1 MB, free: 3.492 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.072e-05/0.009243, allocations: 20.88 kB / 393.2 MB, free: 3.473 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.036e-05/0.009283, allocations: 28.36 kB / 393.2 MB, free: 3.445 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004675/0.009751, allocations: 335.2 kB / 393.5 MB, free: 3.109 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.009764, allocations: 192 / 393.5 MB, free: 3.109 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.288e-05/0.009787, allocations: 16.12 kB / 393.5 MB, free: 3.094 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.186e-06/0.009795, allocations: 8 kB / 393.5 MB, free: 3.086 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000394/0.01019, allocations: 277.7 kB / 393.8 MB, free: 2.812 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00108/0.01127, allocations: 0.8699 MB / 394.7 MB, free: 1.895 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004859/0.01175, allocations: 282.7 kB / 395 MB, free: 1.609 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001982/0.01195, allocations: 157.1 kB / 395.1 MB, free: 1.453 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.34e-05/0.01198, allocations: 4 kB / 395.1 MB, free: 1.449 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002703/0.01225, allocations: 194.4 kB / 395.3 MB, free: 1.25 MB / 314.7 MB Notification: Performance of pre-optimization done (n=22): time 1.563e-06/0.01225, allocations: 0 / 395.3 MB, free: 1.25 MB / 314.7 MB Notification: Performance of matching and sorting (n=22): time 0.0006571/0.01291, allocations: 413.2 kB / 395.7 MB, free: 0.8398 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.249e-05/0.01295, allocations: 59.34 kB / 395.8 MB, free: 0.7695 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001722/0.01312, allocations: 249.6 kB / 396 MB, free: 0.5078 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2e-05/0.01314, allocations: 33.64 kB / 396 MB, free: 480 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.338e-05/0.01322, allocations: 168.3 kB / 396.2 MB, free: 308 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.072e-05/0.01327, allocations: 79.33 kB / 396.3 MB, free: 228 kB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.448e-05/0.01335, allocations: 45.7 kB / 396.3 MB, free: 176 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.01345, allocations: 334.8 kB / 396.7 MB, free: 15.84 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002098/0.01366, allocations: 161.6 kB / 396.8 MB, free: 15.67 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001946/0.01386, allocations: 186 kB / 397 MB, free: 15.47 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003711/0.01423, allocations: 315.3 kB / 397.3 MB, free: 15.14 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.01423, allocations: 4 kB / 397.3 MB, free: 15.14 MB / 330.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004741/0.01471, allocations: 408.4 kB / 397.7 MB, free: 14.73 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.403e-05/0.01474, allocations: 45.56 kB / 397.8 MB, free: 14.68 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.01475, allocations: 0 / 397.8 MB, free: 14.68 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.01476, allocations: 4 kB / 397.8 MB, free: 14.67 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001764/0.01494, allocations: 68.05 kB / 397.8 MB, free: 14.61 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.01494, allocations: 0 / 397.8 MB, free: 14.61 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001072/0.01505, allocations: 35.83 kB / 397.9 MB, free: 14.57 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.583e-05/0.01507, allocations: 11.92 kB / 397.9 MB, free: 14.56 MB / 330.7 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.0001228/0.01519, allocations: 164.5 kB / 398 MB, free: 14.39 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.5e-05/0.01521, allocations: 23.86 kB / 398.1 MB, free: 14.37 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004554/0.01567, allocations: 335 kB / 398.4 MB, free: 14.04 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.01567, allocations: 7.938 kB / 398.4 MB, free: 14.04 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.01568, allocations: 0 / 398.4 MB, free: 14.04 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.01568, allocations: 3.984 kB / 398.4 MB, free: 14.03 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002381/0.01592, allocations: 316.5 kB / 398.7 MB, free: 13.68 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.01592, allocations: 0 / 398.7 MB, free: 13.68 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001673/0.01609, allocations: 55.95 kB / 398.8 MB, free: 13.62 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.01609, allocations: 0 / 398.8 MB, free: 13.62 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/0.01611, allocations: 12 kB / 398.8 MB, free: 13.61 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.01611, allocations: 7.938 kB / 398.8 MB, free: 13.61 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.01611, allocations: 7.875 kB / 398.8 MB, free: 13.6 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000627/0.01674, allocations: 0.4888 MB / 399.3 MB, free: 13.09 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.171e-05/0.01677, allocations: 27.83 kB / 399.3 MB, free: 13.06 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.58e-05/0.0168, allocations: 8.062 kB / 399.3 MB, free: 13.05 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.746e-05/0.01688, allocations: 27.91 kB / 399.3 MB, free: 13.03 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.74e-05/0.01695, allocations: 23.91 kB / 399.4 MB, free: 13 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-05/0.01697, allocations: 7.984 kB / 399.4 MB, free: 13 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000114/0.01708, allocations: 173.2 kB / 399.5 MB, free: 12.83 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01708, allocations: 0 / 399.5 MB, free: 12.83 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002263/0.01731, allocations: 75.84 kB / 399.6 MB, free: 12.76 MB / 330.7 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.001139/0.01845, allocations: 1.034 MB / 400.6 MB, free: 11.69 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004539/0.0189, allocations: 372 kB / 401 MB, free: 11.31 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.0189, allocations: 256 / 401 MB, free: 11.31 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001819/0.01908, allocations: 143.8 kB / 401.2 MB, free: 11.17 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002321/0.01932, allocations: 36.41 kB / 401.2 MB, free: 11.14 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002913/0.02223, allocations: 3.039 MB / 404.2 MB, free: 7.961 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001121/0.02234, allocations: 170.5 kB / 404.4 MB, free: 7.773 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001008/0.02244, allocations: 33.62 kB / 404.4 MB, free: 7.738 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001133/0.02255, allocations: 84.47 kB / 404.5 MB, free: 7.656 MB / 330.7 MB Notification: Performance of SimCode: time 8.21e-07/0.02256, allocations: 0 / 404.5 MB, free: 7.656 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02178/0.04434, allocations: 6.378 MB / 410.9 MB, free: 1.43 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.761/6.805, allocations: 4.062 kB / 410.9 MB, free: 1.426 MB / 330.7 MB " [Timeout remaining time 653] (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 --stepSize=1209.6 --timeout=50 --tolerance=1e-06 FastBuildings_FastBuildings_Examples_SingleZone_ArtificialInputs.fmu > FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.645792888477445] Failed to read output from testmodel.py, exit status != 0: 7.028465150855482 7.037899002 7.028358596 Calling exit ...