Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.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: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7179/0.7179, 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.001612/0.001612, allocations: 180.2 kB / 173.7 MB, free: 6.113 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.67/1.67, 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.0008559/0.0008558, allocations: 89.17 kB / 486.5 MB, free: 13.01 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003378/0.000338, allocations: 17.58 kB / 0.5604 GB, free: 97.45 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1768/0.1772, allocations: 76.77 MB / 0.6354 GB, free: 30.45 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1519/0.3291, allocations: 104.5 MB / 0.7375 GB, free: 5.773 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002884/0.3295, allocations: 75.95 kB / 0.7376 GB, free: 5.699 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.01607/0.3456, allocations: 5.42 MB / 0.7429 GB, free: 268 kB / 0.5105 GB Notification: Performance of FrontEnd: time 2.364e-06/0.3456, allocations: 0 / 0.7429 GB, free: 268 kB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.358e-05/0.3457, allocations: 4 kB / 0.7429 GB, free: 264 kB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.3681/0.7137, allocations: 428.1 kB / 0.7433 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.031e-05/0.7138, allocations: 9.531 kB / 0.7433 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.932e-05/0.7139, allocations: 40.08 kB / 0.7433 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007723/0.7147, allocations: 116.8 kB / 0.7434 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001163/0.7148, allocations: 183 kB / 0.7436 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.442e-05/0.7149, allocations: 67.08 kB / 0.7437 GB, free: 109 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.589e-05/0.715, allocations: 9.531 kB / 0.7437 GB, free: 109 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005219/0.7155, allocations: 191.2 kB / 0.7439 GB, free: 109 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.719e-06/0.7155, allocations: 0 / 0.7439 GB, free: 109 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.431e-05/0.7155, allocations: 7.109 kB / 0.7439 GB, free: 109 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.7156, allocations: 4.844 kB / 0.7439 GB, free: 109 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006072/0.7162, allocations: 197.8 kB / 0.7441 GB, free: 109 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001089/0.7173, allocations: 0.4936 MB / 0.7445 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009298/0.7182, allocations: 266.3 kB / 0.7448 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 4.037e-05/0.7183, allocations: 12.19 kB / 0.7448 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.7183, allocations: 34.33 kB / 0.7448 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=6): time 1.513e-06/0.7183, allocations: 0 / 0.7448 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=6): time 0.001013/0.7193, allocations: 315.3 kB / 0.7451 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.928e-05/0.7194, allocations: 59.16 kB / 0.7452 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/0.7195, allocations: 123 kB / 0.7453 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.616e-05/0.7195, allocations: 33.08 kB / 0.7453 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.182e-05/0.7196, allocations: 108.7 kB / 0.7454 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.444e-05/0.7196, allocations: 21.3 kB / 0.7455 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.676e-06/0.7196, allocations: 0 / 0.7455 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.611e-05/0.7197, allocations: 321.1 kB / 0.7458 GB, free: 108 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002719/0.72, allocations: 95.27 kB / 0.7459 GB, free: 108 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002936/0.7203, allocations: 107.2 kB / 0.746 GB, free: 108 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002872/0.7206, allocations: 93.11 kB / 0.7461 GB, free: 108 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.7206, allocations: 0 / 0.7461 GB, free: 108 MB / 0.5105 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006578/0.7213, allocations: 243.5 kB / 0.7463 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.386e-05/0.7213, allocations: 7.547 kB / 0.7463 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.7213, allocations: 0.5 kB / 0.7463 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.7213, allocations: 2.422 kB / 0.7463 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002722/0.7216, allocations: 46.64 kB / 0.7463 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-05/0.7216, allocations: 5.531 kB / 0.7463 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002036/0.7218, allocations: 35 kB / 0.7464 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.82e-05/0.7219, allocations: 6.125 kB / 0.7464 GB, free: 107.9 MB / 0.5105 GB 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 (8): * Single equations (assignments): 8 * 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.0001059/0.722, allocations: 119.1 kB / 0.7465 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.891e-05/0.722, allocations: 7.125 kB / 0.7465 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007136/0.7227, allocations: 240.7 kB / 0.7467 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.319e-06/0.7228, allocations: 3.5 kB / 0.7467 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.7228, allocations: 3.953 kB / 0.7467 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.7228, allocations: 7.141 kB / 0.7467 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002383/0.723, allocations: 234.2 kB / 0.747 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.723, allocations: 3.844 kB / 0.747 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002124/0.7233, allocations: 40.67 kB / 0.747 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.7233, allocations: 3.281 kB / 0.747 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.7233, allocations: 3.406 kB / 0.747 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.7233, allocations: 0.5 kB / 0.747 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.7233, allocations: 7.953 kB / 0.747 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006284/0.7239, allocations: 315.4 kB / 0.7473 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.327e-05/0.724, allocations: 90.41 kB / 0.7474 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.073e-05/0.724, allocations: 1.094 kB / 0.7474 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002979/0.7243, allocations: 41.08 kB / 0.7475 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.318e-05/0.7244, allocations: 3.422 kB / 0.7475 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.497e-05/0.7244, allocations: 17.17 kB / 0.7475 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 5.376e-05/0.7245, allocations: 113.3 kB / 0.7476 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7245, allocations: 0 / 0.7476 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002588/0.7247, allocations: 22.36 kB / 0.7476 GB, free: 107.2 MB / 0.5105 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 (6): * Single equations (assignments): 6 * 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.0008737/0.7256, allocations: 0.8572 MB / 0.7484 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0006737/0.7263, allocations: 197.5 kB / 0.7486 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.7263, allocations: 1.406 kB / 0.7486 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000345/0.7267, allocations: 100.6 kB / 0.7487 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002474/0.7269, allocations: 14.89 kB / 0.7487 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009494/0.7279, allocations: 0.8022 MB / 0.7495 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001559/0.728, allocations: 0.7031 MB / 0.7502 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001127/0.7282, allocations: 23.95 kB / 0.7502 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.738e-05/0.7283, allocations: 30.64 kB / 0.7503 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of SimCode: time 3.01e-07/0.7283, allocations: 0 / 0.7503 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01622/0.7445, allocations: 2.394 MB / 0.7526 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002251/0.7448, allocations: 192.6 kB / 0.7528 GB, free: 104.7 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.573/2.317, allocations: 0 / 0.7528 GB, free: 104.7 MB / 0.5105 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothBlocks_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothBlocks.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)