Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep") translateModel(Buildings.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001596/0.001596, allocations: 103.4 kB / 16.27 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001744/0.001744, allocations: 190 kB / 17.2 MB, free: 5.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.456/1.456, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.914/1.914, allocations: 292.3 MB / 0.5495 GB, free: 17.49 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001434, allocations: 82.84 kB / 0.6722 GB, free: 6.52 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2415/0.243, allocations: 114.5 MB / 0.784 GB, free: 3.859 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.002874/0.2459, allocations: 0.5825 MB / 0.7846 GB, free: 3.266 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0003362/0.2463, allocations: 51.84 kB / 0.7847 GB, free: 3.215 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.962e-05/0.2463, allocations: 0 / 0.7847 GB, free: 3.215 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.678e-05/0.2463, allocations: 0 / 0.7847 GB, free: 3.215 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 9.177e-06/0.2464, allocations: 0 / 0.7847 GB, free: 3.215 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002851/0.2467, allocations: 15.92 kB / 0.7847 GB, free: 3.199 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 4.415e-05/0.2467, allocations: 0 / 0.7847 GB, free: 3.199 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 6.23e-05/0.2468, allocations: 12 kB / 0.7847 GB, free: 3.188 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.079e-05/0.2468, allocations: 3.984 kB / 0.7847 GB, free: 3.184 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 2.427e-05/0.2469, allocations: 0 / 0.7847 GB, free: 3.184 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.275e-05/0.2469, allocations: 0 / 0.7847 GB, free: 3.184 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000132/0.247, allocations: 19.98 kB / 0.7847 GB, free: 3.164 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.258e-05/0.2471, allocations: 3.938 kB / 0.7847 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.024e-05/0.2471, allocations: 0 / 0.7847 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001058/0.2472, allocations: 19.97 kB / 0.7847 GB, free: 3.141 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.2472, allocations: 0 / 0.7847 GB, free: 3.141 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.864e-06/0.2472, allocations: 0 / 0.7847 GB, free: 3.141 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.63e-06/0.2472, allocations: 0 / 0.7847 GB, free: 3.141 MB / 0.6544 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.0003745/0.2476, allocations: 319.5 kB / 0.785 GB, free: 2.777 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.2477, allocations: 8.031 kB / 0.785 GB, free: 2.77 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003314/0.248, allocations: 16.91 kB / 0.7851 GB, free: 2.754 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001215/0.2481, allocations: 168.4 kB / 0.7852 GB, free: 2.551 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.2482, allocations: 384 / 0.7852 GB, free: 2.551 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.007e-05/0.2482, allocations: 384 / 0.7852 GB, free: 2.551 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001681/0.2484, allocations: 38.19 kB / 0.7853 GB, free: 2.508 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.2484, allocations: 4.188 kB / 0.7853 GB, free: 2.504 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/0.2484, allocations: 7.938 kB / 0.7853 GB, free: 2.496 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.2484, allocations: 0 / 0.7853 GB, free: 2.496 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000106/0.2485, allocations: 11.98 kB / 0.7853 GB, free: 2.484 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001681/0.2487, allocations: 141.7 kB / 0.7854 GB, free: 2.297 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001069/0.2488, allocations: 30.52 kB / 0.7854 GB, free: 2.258 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.811e-05/0.2489, allocations: 12.92 kB / 0.7855 GB, free: 2.242 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.491e-05/0.2489, allocations: 3.984 kB / 0.7855 GB, free: 2.238 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.409e-05/0.249, allocations: 34.56 kB / 0.7855 GB, free: 2.195 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=1): time 1.233e-06/0.249, allocations: 0 / 0.7855 GB, free: 2.195 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1): time 0.0002988/0.2493, allocations: 45.62 kB / 0.7855 GB, free: 2.145 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.513e-05/0.2493, allocations: 55.34 kB / 0.7856 GB, free: 2.078 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.155e-05/0.2494, allocations: 93.98 kB / 0.7857 GB, free: 1.977 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.22e-05/0.2494, allocations: 29.69 kB / 0.7857 GB, free: 1.941 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.254e-05/0.2495, allocations: 88.06 kB / 0.7858 GB, free: 1.852 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.486e-05/0.2495, allocations: 0 / 0.7858 GB, free: 1.852 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.22e-05/0.2496, allocations: 17.72 kB / 0.7858 GB, free: 1.828 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.2497, allocations: 310.8 kB / 0.7861 GB, free: 1.516 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.968e-05/0.2498, allocations: 4 kB / 0.7861 GB, free: 1.512 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.385e-05/0.2499, allocations: 11.98 kB / 0.7861 GB, free: 1.5 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001126/0.25, allocations: 12.84 kB / 0.7861 GB, free: 1.484 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.25, allocations: 0 / 0.7861 GB, free: 1.484 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001698/0.2502, allocations: 41.69 kB / 0.7862 GB, free: 1.438 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.2502, allocations: 7.938 kB / 0.7862 GB, free: 1.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.2502, allocations: 0 / 0.7862 GB, free: 1.43 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.2502, allocations: 3.938 kB / 0.7862 GB, free: 1.426 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.415e-05/0.2503, allocations: 12.08 kB / 0.7862 GB, free: 1.414 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.2503, allocations: 0 / 0.7862 GB, free: 1.414 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.574e-05/0.2504, allocations: 7.906 kB / 0.7862 GB, free: 1.406 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-06/0.2504, allocations: 4 kB / 0.7862 GB, free: 1.402 MB / 0.6544 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 9.26e-05/0.2505, allocations: 109.8 kB / 0.7863 GB, free: 1.285 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.107e-05/0.2505, allocations: 0 / 0.7863 GB, free: 1.285 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.687e-05/0.2506, allocations: 11.05 kB / 0.7863 GB, free: 1.273 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.2506, allocations: 0 / 0.7863 GB, free: 1.273 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.2506, allocations: 4 kB / 0.7863 GB, free: 1.27 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-06/0.2506, allocations: 4 kB / 0.7863 GB, free: 1.266 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001197/0.2507, allocations: 142 kB / 0.7865 GB, free: 1.078 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.2508, allocations: 0 / 0.7865 GB, free: 1.078 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.487e-05/0.2508, allocations: 7.984 kB / 0.7865 GB, free: 1.07 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.2508, allocations: 0 / 0.7865 GB, free: 1.07 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.2508, allocations: 3.938 kB / 0.7865 GB, free: 1.066 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.2509, allocations: 3.938 kB / 0.7865 GB, free: 1.062 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.2509, allocations: 0 / 0.7865 GB, free: 1.062 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001796/0.251, allocations: 73.06 kB / 0.7865 GB, free: 0.9727 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.866e-05/0.2511, allocations: 81.09 kB / 0.7866 GB, free: 0.875 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.677e-05/0.2511, allocations: 3.938 kB / 0.7866 GB, free: 0.8711 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.827e-05/0.2512, allocations: 0 / 0.7866 GB, free: 0.8711 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.163e-05/0.2512, allocations: 0 / 0.7866 GB, free: 0.8711 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.2512, allocations: 4 kB / 0.7866 GB, free: 0.8672 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.208e-05/0.2512, allocations: 75.28 kB / 0.7867 GB, free: 0.793 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.81e-07/0.2513, allocations: 7.969 kB / 0.7867 GB, free: 0.7852 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002706/0.2515, allocations: 0 / 0.7867 GB, free: 0.7852 MB / 0.6544 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 0.0001643/0.2517, allocations: 103.2 kB / 0.7868 GB, free: 0.6758 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001768/0.2519, allocations: 19.97 kB / 0.7868 GB, free: 0.6562 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.2519, allocations: 0 / 0.7868 GB, free: 0.6562 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 5.65e-05/0.252, allocations: 4 kB / 0.7868 GB, free: 0.6523 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001898/0.2522, allocations: 6.875 kB / 0.7868 GB, free: 0.6484 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003179/0.2525, allocations: 102.8 kB / 0.7869 GB, free: 0.5156 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3351/0.5876, allocations: 0.669 MB / 0.7876 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.24e-05/0.5877, allocations: 11.27 kB / 0.7876 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of SimCode: time 1.002e-06/0.5877, allocations: 0 / 0.7876 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of Templates: time 0.001504/0.5892, allocations: 388.6 kB / 0.788 GB, free: 48.73 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1)