Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.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.001692/0.001692, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.002138/0.002138, allocations: 219.7 kB / 23.01 MB, free: 4.609 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.522/1.522, allocations: 230.6 MB / 256.8 MB, free: 8.055 MB / 206.1 MB " [Timeout remaining time 178] 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.002534/0.002534, allocations: 288 kB / 313.5 MB, free: 2.863 MB / 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 1.254/1.254, allocations: 180.6 MB / 0.5377 GB, free: 13.05 MB / 382.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.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker") translateModel(BuildingSystems.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker") [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.002935/0.002935, allocations: 105.7 kB / 0.7408 GB, free: 28.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2052/0.2081, allocations: 95.39 MB / 0.8339 GB, free: 8.211 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.SignalRanker): time 0.002909/0.211, allocations: 1.582 MB / 0.8355 GB, free: 6.617 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.00131/0.2123, allocations: 0.6561 MB / 0.8361 GB, free: 5.957 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.013e-05/0.2124, allocations: 7.938 kB / 0.8361 GB, free: 5.949 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.0001083/0.2125, allocations: 11.86 kB / 0.8361 GB, free: 5.938 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 6.125e-05/0.2126, allocations: 23.8 kB / 0.8362 GB, free: 5.914 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004729/0.213, allocations: 103.7 kB / 0.8363 GB, free: 5.812 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.0001891/0.2132, allocations: 99.64 kB / 0.8363 GB, free: 5.715 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001207/0.2134, allocations: 16.22 kB / 0.8364 GB, free: 5.695 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000177/0.2135, allocations: 51.83 kB / 0.8364 GB, free: 5.645 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 9.851e-05/0.2136, allocations: 47.77 kB / 0.8365 GB, free: 5.598 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 2.373e-05/0.2137, allocations: 8 kB / 0.8365 GB, free: 5.59 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001776/0.2138, allocations: 107.9 kB / 0.8366 GB, free: 5.484 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 5.832e-05/0.2139, allocations: 19.92 kB / 0.8366 GB, free: 5.465 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 7.889e-05/0.214, allocations: 39.73 kB / 0.8366 GB, free: 5.426 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0002575/0.2142, allocations: 151.4 kB / 0.8368 GB, free: 5.277 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.2142, allocations: 0 / 0.8368 GB, free: 5.277 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.392e-06/0.2142, allocations: 4 kB / 0.8368 GB, free: 5.273 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.2142, allocations: 0 / 0.8368 GB, free: 5.273 MB / 0.5763 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008492/0.2151, allocations: 387.4 kB / 0.8371 GB, free: 4.859 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.2151, allocations: 9.938 kB / 0.8372 GB, free: 4.852 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002858/0.2154, allocations: 32.86 kB / 0.8372 GB, free: 4.82 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003499/0.2158, allocations: 148.7 kB / 0.8373 GB, free: 4.652 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.2158, allocations: 384 / 0.8373 GB, free: 4.652 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.112e-05/0.2158, allocations: 8.375 kB / 0.8373 GB, free: 4.645 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003408/0.2161, allocations: 109.9 kB / 0.8374 GB, free: 4.531 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.2162, allocations: 0 / 0.8374 GB, free: 4.531 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.844e-05/0.2162, allocations: 7.984 kB / 0.8374 GB, free: 4.523 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.199e-05/0.2162, allocations: 4 kB / 0.8375 GB, free: 4.52 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003342/0.2166, allocations: 83.91 kB / 0.8375 GB, free: 4.438 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006999/0.2173, allocations: 319.7 kB / 0.8378 GB, free: 4.082 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003205/0.2176, allocations: 90.5 kB / 0.8379 GB, free: 3.984 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001814/0.2178, allocations: 52.88 kB / 0.838 GB, free: 3.93 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 1.654e-05/0.2178, allocations: 4 kB / 0.838 GB, free: 3.926 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003361/0.2181, allocations: 115.3 kB / 0.8381 GB, free: 3.801 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=9): time 1.813e-06/0.2181, allocations: 0 / 0.8381 GB, free: 3.801 MB / 0.5763 GB Notification: Performance of matching and sorting (n=9): time 0.0007059/0.2188, allocations: 209.4 kB / 0.8383 GB, free: 3.59 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.473e-05/0.2189, allocations: 59.47 kB / 0.8383 GB, free: 3.52 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/0.219, allocations: 141.8 kB / 0.8385 GB, free: 3.371 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 3.073e-05/0.2191, allocations: 33.8 kB / 0.8385 GB, free: 3.332 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 8.061e-05/0.2191, allocations: 112 kB / 0.8386 GB, free: 3.219 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 2.869e-05/0.2192, allocations: 19.81 kB / 0.8386 GB, free: 3.199 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.915e-05/0.2192, allocations: 29.7 kB / 0.8387 GB, free: 3.164 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001856/0.2194, allocations: 322.8 kB / 0.839 GB, free: 2.84 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002011/0.2196, allocations: 55.95 kB / 0.839 GB, free: 2.785 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001745/0.2198, allocations: 55.95 kB / 0.8391 GB, free: 2.73 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003772/0.2202, allocations: 146.5 kB / 0.8392 GB, free: 2.578 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2202, allocations: 4 kB / 0.8392 GB, free: 2.574 MB / 0.5763 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004837/0.2206, allocations: 195.2 kB / 0.8394 GB, free: 2.371 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 4.221e-05/0.2207, allocations: 37.69 kB / 0.8394 GB, free: 2.328 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.2207, allocations: 4 kB / 0.8394 GB, free: 2.324 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.2207, allocations: 0 / 0.8394 GB, free: 2.324 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001531/0.2209, allocations: 19.98 kB / 0.8395 GB, free: 2.305 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.2209, allocations: 0 / 0.8395 GB, free: 2.305 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001464/0.221, allocations: 35.8 kB / 0.8395 GB, free: 2.27 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.463e-05/0.221, allocations: 4 kB / 0.8395 GB, free: 2.266 MB / 0.5763 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 1 * 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.0001455/0.2212, allocations: 122.4 kB / 0.8396 GB, free: 2.137 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.32e-05/0.2212, allocations: 7.953 kB / 0.8396 GB, free: 2.129 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.343e-05/0.2212, allocations: 20.7 kB / 0.8397 GB, free: 2.102 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.01e-05/0.2213, allocations: 4 kB / 0.8397 GB, free: 2.098 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.2213, allocations: 0 / 0.8397 GB, free: 2.098 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.2213, allocations: 7.938 kB / 0.8397 GB, free: 2.09 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001988/0.2215, allocations: 168.7 kB / 0.8398 GB, free: 1.883 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.2215, allocations: 0 / 0.8398 GB, free: 1.883 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00012/0.2216, allocations: 15.98 kB / 0.8398 GB, free: 1.867 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.2216, allocations: 0 / 0.8398 GB, free: 1.867 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/0.2216, allocations: 3.984 kB / 0.8398 GB, free: 1.863 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.2216, allocations: 0 / 0.8398 GB, free: 1.863 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2216, allocations: 480 / 0.8398 GB, free: 1.863 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004656/0.2221, allocations: 200.8 kB / 0.84 GB, free: 1.648 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 1.893e-05/0.2221, allocations: 3.953 kB / 0.84 GB, free: 1.645 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.745e-05/0.2221, allocations: 4 kB / 0.84 GB, free: 1.641 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001227/0.2223, allocations: 11.98 kB / 0.8401 GB, free: 1.629 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.587e-05/0.2223, allocations: 19.91 kB / 0.8401 GB, free: 1.609 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.717e-06/0.2223, allocations: 0 / 0.8401 GB, free: 1.609 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 8.412e-05/0.2224, allocations: 117.9 kB / 0.8402 GB, free: 1.496 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1e-07/0.2224, allocations: 0 / 0.8402 GB, free: 1.496 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.000274/0.2227, allocations: 39.94 kB / 0.8402 GB, free: 1.457 MB / 0.5763 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 1 * 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.0001863/0.2229, allocations: 115.2 kB / 0.8403 GB, free: 1.336 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.0005334/0.2234, allocations: 179.2 kB / 0.8405 GB, free: 1.148 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2234, allocations: 8 kB / 0.8405 GB, free: 1.141 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.0002075/0.2236, allocations: 51.95 kB / 0.8406 GB, free: 1.09 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00023/0.2238, allocations: 19.97 kB / 0.8406 GB, free: 1.07 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006629/0.2245, allocations: 258 kB / 0.8408 GB, free: 0.7852 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003507/0.2249, allocations: 0.708 MB / 0.8415 GB, free: 52 kB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.595e-05/0.2249, allocations: 15.42 kB / 0.8415 GB, free: 40 kB / 0.5763 GB Notification: Performance of SimCode: time 3.31e-07/0.2249, allocations: 0 / 0.8415 GB, free: 40 kB / 0.5763 GB Notification: Performance of Templates: time 0.003867/0.2288, allocations: 1.551 MB / 0.843 GB, free: 14.49 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.sim & ./BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.053309221053496] Failed to read output from testmodel.py, exit status != 0: 0.23711011302657425 0.253653022 0.035969085000000005 Calling exit ...