Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.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.001505/0.001505, allocations: 79.73 kB / 19.76 MB, free: 1.871 MB / 14.72 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.001651/0.001651, allocations: 161 kB / 23.01 MB, free: 4.602 MB / 14.72 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 1.329/1.329, allocations: 177.2 MB / 203.4 MB, free: 8.887 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002465/0.002465, allocations: 237.4 kB / 260 MB, free: 440 kB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.8818/0.8818, allocations: 138.5 MB / 455 MB, free: 15.09 MB / 430.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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: translateModel(BuildingSystems.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime") translateModel(BuildingSystems.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime") [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002918/0.002918, allocations: 95.84 kB / 0.6473 GB, free: 7.613 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3786/0.3815, allocations: 95.34 MB / 0.7404 GB, free: 17.49 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Examples.ModelTime): time 0.001598/0.3831, allocations: 0.6041 MB / 0.741 GB, free: 17.13 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 3.131e-05/0.3831, allocations: 0 / 0.741 GB, free: 17.13 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.036e-05/0.3831, allocations: 1.062 kB / 0.741 GB, free: 17.13 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 2.132e-05/0.3831, allocations: 3.938 kB / 0.741 GB, free: 17.12 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 5.22e-06/0.3831, allocations: 0 / 0.741 GB, free: 17.12 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 3.403e-05/0.3832, allocations: 1.094 kB / 0.741 GB, free: 17.12 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 4.492e-05/0.3832, allocations: 5.875 kB / 0.741 GB, free: 17.12 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.062e-05/0.3833, allocations: 2.359 kB / 0.741 GB, free: 17.12 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 1.316e-05/0.3833, allocations: 7.984 kB / 0.741 GB, free: 17.11 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 1.436e-05/0.3833, allocations: 0 / 0.741 GB, free: 17.11 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 7.324e-06/0.3833, allocations: 1.281 kB / 0.741 GB, free: 17.11 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 2.625e-06/0.3833, allocations: 0 / 0.741 GB, free: 17.11 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 9.518e-06/0.3833, allocations: 0 / 0.741 GB, free: 17.11 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 1.558e-05/0.3833, allocations: 1.562 kB / 0.741 GB, free: 17.11 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 4.559e-05/0.3834, allocations: 4.453 kB / 0.741 GB, free: 17.11 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3834, allocations: 0.7031 kB / 0.741 GB, free: 17.11 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.783e-06/0.3834, allocations: 1.469 kB / 0.741 GB, free: 17.11 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.068e-06/0.3834, allocations: 0 / 0.741 GB, free: 17.11 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001909/0.3836, allocations: 243.9 kB / 0.7413 GB, free: 16.84 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.3836, allocations: 10.41 kB / 0.7413 GB, free: 16.84 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.586e-05/0.3836, allocations: 0.9375 kB / 0.7413 GB, free: 16.84 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.172e-05/0.3837, allocations: 104.8 kB / 0.7414 GB, free: 16.72 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.3837, allocations: 1.562 kB / 0.7414 GB, free: 16.72 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.973e-06/0.3837, allocations: 5.297 kB / 0.7414 GB, free: 16.71 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.843e-05/0.3838, allocations: 28.14 kB / 0.7414 GB, free: 16.68 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.802e-06/0.3838, allocations: 5.156 kB / 0.7414 GB, free: 16.68 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.013e-06/0.3838, allocations: 3.938 kB / 0.7414 GB, free: 16.68 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.517e-06/0.3838, allocations: 0 / 0.7414 GB, free: 16.68 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.452e-05/0.3838, allocations: 2.906 kB / 0.7414 GB, free: 16.68 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.027e-05/0.3839, allocations: 103.1 kB / 0.7415 GB, free: 16.55 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 3.05e-05/0.3839, allocations: 21.17 kB / 0.7415 GB, free: 16.52 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.65e-05/0.3839, allocations: 7.688 kB / 0.7416 GB, free: 16.51 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 5.279e-06/0.3839, allocations: 1.125 kB / 0.7416 GB, free: 16.51 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.449e-05/0.3839, allocations: 32.34 kB / 0.7416 GB, free: 16.47 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=1): time 7.51e-07/0.3839, allocations: 0 / 0.7416 GB, free: 16.47 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1): time 9.291e-05/0.384, allocations: 42.73 kB / 0.7416 GB, free: 16.43 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.094e-05/0.384, allocations: 53.14 kB / 0.7417 GB, free: 16.37 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.294e-05/0.3841, allocations: 89.86 kB / 0.7418 GB, free: 16.27 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.308e-06/0.3841, allocations: 30.92 kB / 0.7418 GB, free: 16.23 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 7.775e-06/0.3841, allocations: 80.94 kB / 0.7419 GB, free: 16.15 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.58e-05/0.3841, allocations: 1.156 kB / 0.7419 GB, free: 16.15 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.001e-05/0.3841, allocations: 10.94 kB / 0.7419 GB, free: 16.14 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 3.152e-05/0.3841, allocations: 313.2 kB / 0.7422 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.712e-06/0.3842, allocations: 1 kB / 0.7422 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.839e-06/0.3842, allocations: 1.094 kB / 0.7422 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.012e-05/0.3842, allocations: 16.84 kB / 0.7422 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3842, allocations: 3.938 kB / 0.7422 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.986e-05/0.3842, allocations: 36.2 kB / 0.7422 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.3842, allocations: 5.969 kB / 0.7422 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.3842, allocations: 0 / 0.7422 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.3843, allocations: 0 / 0.7422 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.427e-05/0.3843, allocations: 6.172 kB / 0.7422 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.3843, allocations: 1.625 kB / 0.7422 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.706e-06/0.3843, allocations: 0.6562 kB / 0.7422 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-06/0.3843, allocations: 4 kB / 0.7423 GB, free: 15.76 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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 3.28e-05/0.3843, allocations: 108.2 kB / 0.7424 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.673e-06/0.3844, allocations: 2.109 kB / 0.7424 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.091e-05/0.3844, allocations: 11.03 kB / 0.7424 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.3844, allocations: 4.594 kB / 0.7424 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.3844, allocations: 1.312 kB / 0.7424 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.683e-06/0.3844, allocations: 0 / 0.7424 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 2.967e-05/0.3844, allocations: 96.2 kB / 0.7425 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.3844, allocations: 0 / 0.7425 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.007e-05/0.3844, allocations: 6.141 kB / 0.7425 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.3844, allocations: 1.281 kB / 0.7425 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.158e-06/0.3844, allocations: 0 / 0.7425 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.3844, allocations: 0 / 0.7425 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.3844, allocations: 5.734 kB / 0.7425 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.337e-05/0.3845, allocations: 65.19 kB / 0.7425 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.459e-06/0.3845, allocations: 1.734 kB / 0.7425 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.055e-06/0.3845, allocations: 0.6562 kB / 0.7425 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.201e-06/0.3845, allocations: 1.281 kB / 0.7425 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.357e-06/0.3845, allocations: 8.625 kB / 0.7426 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-06/0.3845, allocations: 1.156 kB / 0.7426 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 8.475e-06/0.3845, allocations: 75.28 kB / 0.7426 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of sort global known variables: time 6e-08/0.3845, allocations: 0 / 0.7426 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0001727/0.3847, allocations: 1.25 kB / 0.7426 GB, free: 15.35 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 5.575e-05/0.3847, allocations: 97.36 kB / 0.7427 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 6.191e-05/0.3848, allocations: 7.766 kB / 0.7427 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.3848, allocations: 1.094 kB / 0.7427 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 5.219e-06/0.3848, allocations: 1.406 kB / 0.7427 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001211/0.3849, allocations: 5.734 kB / 0.7427 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001518/0.3851, allocations: 83.8 kB / 0.7428 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.168e-05/0.3851, allocations: 56.28 kB / 0.7429 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.018e-05/0.3851, allocations: 4.656 kB / 0.7429 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.306e-05/0.3851, allocations: 8.5 kB / 0.7429 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of SimCode: time 4.41e-07/0.3851, allocations: 5.719 kB / 0.7429 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of Templates: time 0.00185/0.387, allocations: 166.5 kB / 0.743 GB, free: 15.01 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.sim & ./BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.409509993973188] Failed to read output from testmodel.py, exit status != 0: 0.3941980400122702 0.40444662400000003 0.018706279000000003 Calling exit ...