Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.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 Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.546/2.546, allocations: 284.9 MB / 292.4 MB, free: 10.56 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00145/0.00145, allocations: 180.8 kB / 360.6 MB, free: 7.293 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.272/2.272, allocations: 205.2 MB / 0.6191 GB, free: 12.23 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001087/0.001087, allocations: 92.08 kB / 0.7321 GB, free: 44.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.208e-05/6.208e-05, allocations: 8 kB / 0.8509 GB, free: 3.363 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8627/0.8628, allocations: 115.3 MB / 0.9634 GB, free: 78.67 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2502/1.113, allocations: 137.7 MB / 1.098 GB, free: 2.766 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002896/1.113, allocations: 71.95 kB / 1.098 GB, free: 2.695 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02206/1.136, allocations: 4.291 MB / 1.102 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.853e-06/1.136, allocations: 0.625 kB / 1.102 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.113e-05/1.136, allocations: 4 kB / 1.102 GB, free: 14.47 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005663/1.136, allocations: 372.4 kB / 1.102 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.159e-05/1.136, allocations: 8.031 kB / 1.102 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.762e-05/1.136, allocations: 9.828 kB / 1.103 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/1.136, allocations: 163 kB / 1.103 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/1.136, allocations: 0.6875 kB / 1.103 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.622e-05/1.137, allocations: 4.594 kB / 1.103 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.068e-05/1.137, allocations: 15.92 kB / 1.103 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.663e-05/1.137, allocations: 34.42 kB / 1.103 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/1.137, allocations: 0.5312 kB / 1.103 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/1.137, allocations: 4 kB / 1.103 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/1.137, allocations: 0.5625 kB / 1.103 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005213/1.137, allocations: 252.4 kB / 1.103 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.696e-05/1.137, allocations: 22.58 kB / 1.103 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.839e-05/1.137, allocations: 16.33 kB / 1.103 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000953/1.138, allocations: 458.5 kB / 1.103 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.075e-05/1.138, allocations: 36.66 kB / 1.103 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 2.305e-06/1.138, allocations: 0 / 1.103 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0002414/1.139, allocations: 41.7 kB / 1.104 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.933e-05/1.139, allocations: 55.39 kB / 1.104 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.583e-05/1.139, allocations: 98.59 kB / 1.104 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/1.139, allocations: 25.7 kB / 1.104 GB, free: 12.63 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.745e-05/1.139, allocations: 92.05 kB / 1.104 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.697e-05/1.139, allocations: 0 / 1.104 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.399e-06/1.139, allocations: 0 / 1.104 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001369/1.139, allocations: 318.8 kB / 1.104 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.777e-05/1.139, allocations: 8 kB / 1.104 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.785e-05/1.139, allocations: 4 kB / 1.104 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.187e-05/1.139, allocations: 8 kB / 1.104 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/1.139, allocations: 4.062 kB / 1.104 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001429/1.14, allocations: 49.55 kB / 1.104 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/1.14, allocations: 4 kB / 1.104 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/1.14, allocations: 3.938 kB / 1.104 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/1.14, allocations: 1.688 kB / 1.104 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001557/1.14, allocations: 11.98 kB / 1.104 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/1.14, allocations: 1.875 kB / 1.104 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.37e-05/1.14, allocations: 16.02 kB / 1.104 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/1.14, allocations: 0 / 1.104 GB, free: 12.1 MB / 0.7136 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 8.874e-05/1.14, allocations: 104.9 kB / 1.104 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001543/1.14, allocations: 41.7 kB / 1.104 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.583e-05/1.14, allocations: 4 kB / 1.104 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001605/1.14, allocations: 53.5 kB / 1.104 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/1.14, allocations: 2.5 kB / 1.104 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.025e-05/1.14, allocations: 7.969 kB / 1.104 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/1.14, allocations: 4.062 kB / 1.104 GB, free: 11.87 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002034/1.141, allocations: 146.1 kB / 1.105 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/1.141, allocations: 0 / 1.105 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001129/1.141, allocations: 11.98 kB / 1.105 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/1.141, allocations: 0 / 1.105 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.717e-06/1.141, allocations: 0 / 1.105 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/1.141, allocations: 0 / 1.105 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/1.141, allocations: 0.6562 kB / 1.105 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002021/1.141, allocations: 147.5 kB / 1.105 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.775e-05/1.141, allocations: 85.05 kB / 1.105 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.707e-05/1.141, allocations: 0 / 1.105 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000137/1.141, allocations: 7.984 kB / 1.105 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.596e-05/1.141, allocations: 4 kB / 1.105 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/1.141, allocations: 0 / 1.105 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.851e-05/1.141, allocations: 85.56 kB / 1.105 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.5e-07/1.141, allocations: 4.031 kB / 1.105 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003422/1.142, allocations: 16 kB / 1.105 GB, free: 11.3 MB / 0.7136 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0006673/1.142, allocations: 0.6926 MB / 1.106 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001088/1.143, allocations: 12 kB / 1.106 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 9.518e-06/1.143, allocations: 8.031 kB / 1.106 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.718e-05/1.143, allocations: 12 kB / 1.106 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000231/1.143, allocations: 4.719 kB / 1.106 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004549/1.143, allocations: 100 kB / 1.106 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003036/1.144, allocations: 0.6768 MB / 1.106 GB, free: 9.719 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.766e-05/1.144, allocations: 4 kB / 1.106 GB, free: 9.715 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.065e-05/1.144, allocations: 12.62 kB / 1.106 GB, free: 9.703 MB / 0.7136 GB Notification: Performance of SimCode: time 1.142e-06/1.144, allocations: 64 / 1.106 GB, free: 9.703 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03555/1.179, allocations: 0.9928 MB / 1.107 GB, free: 8.75 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003419/1.18, allocations: 141 kB / 1.107 GB, free: 8.559 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.494/3.674, allocations: 0.875 kB / 1.107 GB, free: 8.559 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Examples_RegNonZeroPower_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Examples_RegNonZeroPower.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)