Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BusinessSimulation_BusinessSimulation.Examples.LookupFunctions.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.0008721/0.0008721, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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.0009105/0.0009105, allocations: 173 kB / 23.5 MB, free: 1.051 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 1.066/1.066, allocations: 177.1 MB / 203.8 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BusinessSimulation 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BusinessSimulation 2.2.0/package.mo): time 0.105/0.105, allocations: 24.15 MB / 284.4 MB, free: 5.297 MB / 266.7 MB " [Timeout remaining time 180] Using package BusinessSimulation with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BusinessSimulation 2.2.0/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(BusinessSimulation.Examples.LookupFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="BusinessSimulation_BusinessSimulation.Examples.LookupFunctions") translateModel(BusinessSimulation.Examples.LookupFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="BusinessSimulation_BusinessSimulation.Examples.LookupFunctions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 361.2 MB, free: 4.363 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.563e-05/2.748e-05, allocations: 2.312 kB / 361.2 MB, free: 4.359 MB / 330.7 MB Notification: Performance of NFInst.instantiate(BusinessSimulation.Examples.LookupFunctions): time 0.007884/0.007912, allocations: 6.629 MB / 367.8 MB, free: 13.7 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003602/0.01151, allocations: 2.396 MB / 370.2 MB, free: 11.3 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004692/0.01198, allocations: 31.75 kB / 370.3 MB, free: 11.27 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004464/0.01243, allocations: 170.5 kB / 370.4 MB, free: 11.1 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005567/0.01299, allocations: 202.5 kB / 370.6 MB, free: 10.9 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006349/0.01362, allocations: 335 kB / 371 MB, free: 10.57 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006981/0.01432, allocations: 0.7379 MB / 371.7 MB, free: 9.836 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000428/0.01475, allocations: 240.8 kB / 371.9 MB, free: 9.598 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003801/0.01513, allocations: 347 kB / 372.3 MB, free: 9.258 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001911/0.01532, allocations: 171.2 kB / 372.4 MB, free: 9.09 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.158e-05/0.01539, allocations: 44 kB / 372.5 MB, free: 9.047 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001599/0.01555, allocations: 91.84 kB / 372.6 MB, free: 8.957 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001475/0.0157, allocations: 143.4 kB / 372.7 MB, free: 8.816 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001674/0.01586, allocations: 175.3 kB / 372.9 MB, free: 8.645 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005708/0.01643, allocations: 477.9 kB / 373.3 MB, free: 8.176 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.01644, allocations: 0 / 373.3 MB, free: 8.176 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.01644, allocations: 0 / 373.3 MB, free: 8.176 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.632e-06/0.01645, allocations: 0 / 373.3 MB, free: 8.176 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.001252/0.0177, allocations: 1.043 MB / 374.4 MB, free: 7.094 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.01774, allocations: 8.75 kB / 374.4 MB, free: 7.086 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003209/0.01806, allocations: 135.4 kB / 374.5 MB, free: 6.953 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000604/0.01867, allocations: 435.1 kB / 375 MB, free: 6.5 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.162e-05/0.0187, allocations: 29 kB / 375 MB, free: 6.473 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.771e-05/0.01875, allocations: 44 kB / 375 MB, free: 6.43 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000787/0.01954, allocations: 0.7844 MB / 375.8 MB, free: 5.484 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.01956, allocations: 3.984 kB / 375.8 MB, free: 5.48 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.891e-05/0.01959, allocations: 16 kB / 375.8 MB, free: 5.465 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.496e-05/0.01961, allocations: 12 kB / 375.8 MB, free: 5.453 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000298/0.01991, allocations: 119.7 kB / 376 MB, free: 5.34 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001423/0.02133, allocations: 1.016 MB / 377 MB, free: 4.281 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000433/0.02176, allocations: 134.1 kB / 377.1 MB, free: 4.125 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.006e-05/0.02184, allocations: 35.36 kB / 377.1 MB, free: 4.082 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.637e-05/0.02187, allocations: 4 kB / 377.1 MB, free: 4.078 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.458e-05/0.0219, allocations: 41.39 kB / 377.2 MB, free: 4.027 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 1.813e-06/0.02191, allocations: 0 / 377.2 MB, free: 4.027 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004491/0.02236, allocations: 169.3 kB / 377.3 MB, free: 3.855 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001795/0.02253, allocations: 448.9 kB / 377.8 MB, free: 3.312 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006495/0.02318, allocations: 0.6011 MB / 378.4 MB, free: 2.691 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.476e-05/0.02321, allocations: 29.7 kB / 378.4 MB, free: 2.656 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002395/0.02345, allocations: 375.2 kB / 378.8 MB, free: 2.281 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.274e-05/0.02348, allocations: 35.84 kB / 378.8 MB, free: 2.246 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.476e-05/0.02358, allocations: 63.25 kB / 378.9 MB, free: 2.176 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001811/0.02376, allocations: 0.5391 MB / 379.4 MB, free: 1.625 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.773e-05/0.02383, allocations: 19.98 kB / 379.4 MB, free: 1.605 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002876/0.02412, allocations: 0.5297 MB / 380 MB, free: 0.918 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001643/0.02429, allocations: 79.16 kB / 380 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.02429, allocations: 0 / 380 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002989/0.02459, allocations: 161.2 kB / 380.2 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.0246, allocations: 4 kB / 380.2 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.02461, allocations: 0 / 380.2 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.02462, allocations: 4 kB / 380.2 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001606/0.02478, allocations: 36 kB / 380.2 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.02479, allocations: 4.25 kB / 380.2 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001918/0.02498, allocations: 35.88 kB / 380.3 MB, free: 0.582 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.865e-05/0.025, allocations: 11.92 kB / 380.3 MB, free: 0.5703 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (15): * Single equations (assignments): 15 * 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 0.0001498/0.02515, allocations: 168.5 kB / 380.5 MB, free: 404 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001078/0.02526, allocations: 67.62 kB / 380.5 MB, free: 336 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002537/0.02551, allocations: 126.9 kB / 380.6 MB, free: 196 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.02552, allocations: 8 kB / 380.7 MB, free: 188 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.02552, allocations: 4 kB / 380.7 MB, free: 184 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.02552, allocations: 0 / 380.7 MB, free: 184 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004883/0.02601, allocations: 364.4 kB / 381 MB, free: 15.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.02602, allocations: 4 kB / 381 MB, free: 15.78 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001266/0.02614, allocations: 31.91 kB / 381.1 MB, free: 15.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.574e-06/0.02614, allocations: 4 kB / 381.1 MB, free: 15.75 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.406e-05/0.02616, allocations: 0 / 381.1 MB, free: 15.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.02616, allocations: 0 / 381.1 MB, free: 15.75 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.02616, allocations: 4 kB / 381.1 MB, free: 15.74 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003474/0.02651, allocations: 418.4 kB / 381.5 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001791/0.02669, allocations: 105.4 kB / 381.6 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.27e-05/0.02674, allocations: 8 kB / 381.6 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002353/0.02698, allocations: 27.97 kB / 381.6 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.869e-05/0.02704, allocations: 7.984 kB / 381.6 MB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.205e-05/0.02705, allocations: 4 kB / 381.6 MB, free: 15.17 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004309/0.02748, allocations: 411 kB / 382 MB, free: 14.77 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.02748, allocations: 0 / 382 MB, free: 14.77 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004301/0.02791, allocations: 103.7 kB / 382.1 MB, free: 14.67 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (11): * Single equations (assignments): 11 * 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 0.001041/0.02895, allocations: 351.2 kB / 382.5 MB, free: 14.47 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002563/0.02921, allocations: 79.58 kB / 382.5 MB, free: 14.39 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.02921, allocations: 0 / 382.5 MB, free: 14.39 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.956e-05/0.0293, allocations: 39.61 kB / 382.6 MB, free: 14.35 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007284/0.03003, allocations: 152.9 kB / 382.7 MB, free: 14.21 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001219/0.03125, allocations: 0.8358 MB / 383.6 MB, free: 13.33 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001126/0.03136, allocations: 125.2 kB / 383.7 MB, free: 13.19 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001957/0.03156, allocations: 63.66 kB / 383.7 MB, free: 13.12 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.837e-05/0.03165, allocations: 40.48 kB / 383.8 MB, free: 13.09 MB / 362.7 MB Notification: Performance of SimCode: time 5.92e-07/0.03165, allocations: 3.938 kB / 383.8 MB, free: 13.08 MB / 362.7 MB Notification: Performance of Templates: time 0.01243/0.04409, allocations: 7.199 MB / 391 MB, free: 6.066 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f BusinessSimulation_BusinessSimulation.Examples.LookupFunctions.makefile [Timeout 660] (rm -f BusinessSimulation_BusinessSimulation.Examples.LookupFunctions.pipe ; mkfifo BusinessSimulation_BusinessSimulation.Examples.LookupFunctions.pipe ; head -c 1048576 < BusinessSimulation_BusinessSimulation.Examples.LookupFunctions.pipe >> ../files/BusinessSimulation_BusinessSimulation.Examples.LookupFunctions.sim & ./BusinessSimulation_BusinessSimulation.Examples.LookupFunctions -abortSlowSimulation -alarm=240 -lv LOG_STATS > BusinessSimulation_BusinessSimulation.Examples.LookupFunctions.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3983620940707624]