Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=28800,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample") translateModel(BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=28800,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7765/0.7765, allocations: 128.7 MB / 143.7 MB, free: 2.328 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001143/0.001143, allocations: 187.3 kB / 173.8 MB, free: 6.121 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.87/1.87, allocations: 205.4 MB / 409 MB, free: 10.5 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001047/0.001046, allocations: 98.16 kB / 486.6 MB, free: 13.02 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00036/0.00036, allocations: 8.375 kB / 0.5603 GB, free: 97.47 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1923/0.1927, allocations: 76.77 MB / 0.6353 GB, free: 30.6 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1541/0.3468, allocations: 103.9 MB / 0.7368 GB, free: 6.516 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002188/0.3471, allocations: 55.97 kB / 0.7369 GB, free: 6.461 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.3634/0.7105, allocations: 10.26 MB / 0.7469 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.215e-06/0.7105, allocations: 1.031 kB / 0.7469 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.117e-05/0.7106, allocations: 9.797 kB / 0.7469 GB, free: 107.8 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.00115/0.7117, allocations: 0.8692 MB / 0.7477 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.7118, allocations: 6.688 kB / 0.7477 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001079/0.7119, allocations: 66.8 kB / 0.7478 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008209/0.7127, allocations: 0.4998 MB / 0.7483 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.7128, allocations: 8.812 kB / 0.7483 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.196e-05/0.7128, allocations: 14.31 kB / 0.7483 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006921/0.7135, allocations: 332.9 kB / 0.7486 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.7135, allocations: 0 / 0.7486 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.341e-05/0.7136, allocations: 3.812 kB / 0.7486 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.189e-05/0.7136, allocations: 21.14 kB / 0.7487 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00107/0.7147, allocations: 474.4 kB / 0.7491 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001307/0.716, allocations: 0.8986 MB / 0.75 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001252/0.7173, allocations: 0.5745 MB / 0.7505 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 4.788e-05/0.7173, allocations: 9.312 kB / 0.7506 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.581e-05/0.7174, allocations: 38.53 kB / 0.7506 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=23): time 1.413e-06/0.7174, allocations: 0 / 0.7506 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=23): time 0.001719/0.7191, allocations: 0.7079 MB / 0.7513 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.128e-05/0.7191, allocations: 82.52 kB / 0.7514 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001148/0.7203, allocations: 0.7919 MB / 0.7521 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.832e-05/0.7203, allocations: 30.8 kB / 0.7522 GB, free: 106 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000247/0.7206, allocations: 280.8 kB / 0.7524 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001453/0.7207, allocations: 66.58 kB / 0.7525 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.811e-05/0.7208, allocations: 5.031 kB / 0.7525 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.7209, allocations: 376.4 kB / 0.7529 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005147/0.7215, allocations: 210.6 kB / 0.7531 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005021/0.722, allocations: 229.3 kB / 0.7533 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004817/0.7225, allocations: 182 kB / 0.7535 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.7225, allocations: 0 / 0.7535 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001172/0.7236, allocations: 0.5018 MB / 0.7539 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.671e-05/0.7237, allocations: 8.703 kB / 0.754 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.7237, allocations: 0 / 0.754 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/0.7237, allocations: 2.219 kB / 0.754 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004285/0.7242, allocations: 95.08 kB / 0.754 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.7242, allocations: 0 / 0.754 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002883/0.7245, allocations: 68.98 kB / 0.7541 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.286e-05/0.7245, allocations: 12.28 kB / 0.7541 GB, free: 105.4 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 (fctEsc1.u[1],fctEsc1.u[2],fctEsc1.u[3],fctEsc1.u[4],fctEsc1.u[5],fctEscPer1.u[1],fctEscPer1.u[2],fctEscPer1.u[3],fctEscPer1.u[4],fctEscPer1.u[5]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003894/0.7249, allocations: 245.3 kB / 0.7544 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001366/0.7251, allocations: 67.86 kB / 0.7544 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001288/0.7263, allocations: 0.55 MB / 0.755 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.7264, allocations: 1.938 kB / 0.755 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.094e-06/0.7264, allocations: 1.031 kB / 0.755 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.263e-06/0.7264, allocations: 6.406 kB / 0.755 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007289/0.7271, allocations: 0.4951 MB / 0.7555 GB, free: 105 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.7271, allocations: 0 / 0.7555 GB, free: 105 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003731/0.7275, allocations: 95.47 kB / 0.7555 GB, free: 105 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.7275, allocations: 1.344 kB / 0.7555 GB, free: 105 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.871e-05/0.7276, allocations: 8.062 kB / 0.7556 GB, free: 105 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.718e-06/0.7276, allocations: 5.641 kB / 0.7556 GB, free: 105 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.7276, allocations: 1.469 kB / 0.7556 GB, free: 105 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001207/0.7288, allocations: 0.6883 MB / 0.7562 GB, free: 104.7 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002542/0.7291, allocations: 179.3 kB / 0.7564 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.158e-05/0.7291, allocations: 6.906 kB / 0.7564 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003017/0.7294, allocations: 56.88 kB / 0.7565 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002079/0.7297, allocations: 90.72 kB / 0.7565 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.219e-05/0.7297, allocations: 12.17 kB / 0.7566 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0008389/0.7305, allocations: 0.6309 MB / 0.7572 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7305, allocations: 0 / 0.7572 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004362/0.731, allocations: 79.56 kB / 0.7573 GB, free: 104.5 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 (fctEsc1.u[1],fctEsc1.u[2],fctEsc1.u[3],fctEsc1.u[4],fctEsc1.u[5],fctEscPer1.u[1],fctEscPer1.u[2],fctEscPer1.u[3],fctEscPer1.u[4],fctEscPer1.u[5]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008849/0.7319, allocations: 382.1 kB / 0.7576 GB, free: 104.3 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001066/0.733, allocations: 455.9 kB / 0.7581 GB, free: 104.3 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.733, allocations: 0 / 0.7581 GB, free: 104.3 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0005601/0.7335, allocations: 277.1 kB / 0.7583 GB, free: 104.3 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000513/0.7341, allocations: 72.25 kB / 0.7584 GB, free: 104.3 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001793/0.7359, allocations: 1.126 MB / 0.7595 GB, free: 103.8 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004308/0.7363, allocations: 0.8997 MB / 0.7604 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002934/0.7366, allocations: 125 kB / 0.7605 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001958/0.7368, allocations: 42.31 kB / 0.7605 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of SimCode: time 4.81e-07/0.7368, allocations: 0 / 0.7605 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of Templates: time 0.01014/0.747, allocations: 5.263 MB / 0.7657 GB, free: 101.2 MB / 0.5105 GB make -j1 -f BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample.makefile (rm -f BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample.pipe ; mkfifo BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample.pipe >> ../files/BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample.sim & ./BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample.pipe 2>&1)