Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.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: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001367/0.001367, allocations: 199.7 kB / 16.54 MB, free: 6.672 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.531/1.531, allocations: 205.1 MB / 222.4 MB, free: 4.613 MB / 174.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.65/1.65, allocations: 292.3 MB / 0.5489 GB, free: 12.83 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.001539/0.001539, allocations: 74.16 kB / 0.6716 GB, free: 26.05 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2513/0.2528, allocations: 114.5 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.003536/0.2564, allocations: 1.436 MB / 0.7849 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009384/0.2574, allocations: 383.5 kB / 0.7852 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.166e-05/0.2575, allocations: 0 / 0.7852 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.239e-05/0.2576, allocations: 3.938 kB / 0.7852 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.239e-05/0.2576, allocations: 0 / 0.7852 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004946/0.2581, allocations: 111.6 kB / 0.7853 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.416e-05/0.2582, allocations: 31.91 kB / 0.7854 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001303/0.2584, allocations: 15.92 kB / 0.7854 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.71e-05/0.2584, allocations: 11.98 kB / 0.7854 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.839e-05/0.2585, allocations: 11.94 kB / 0.7854 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.538e-05/0.2585, allocations: 0 / 0.7854 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000451/0.259, allocations: 279.6 kB / 0.7857 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.642e-05/0.259, allocations: 8 kB / 0.7857 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.78e-05/0.259, allocations: 7.938 kB / 0.7857 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002744/0.2593, allocations: 108 kB / 0.7858 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.2593, allocations: 0 / 0.7858 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.297e-06/0.2593, allocations: 0 / 0.7858 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.025e-06/0.2594, allocations: 0 / 0.7858 GB, free: 10.96 MB / 0.6075 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.0007285/0.2601, allocations: 371.4 kB / 0.7862 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.618e-05/0.2602, allocations: 12.03 kB / 0.7862 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.525e-05/0.2602, allocations: 30.75 kB / 0.7862 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000116/0.2604, allocations: 8.781 kB / 0.7862 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002104/0.2606, allocations: 168.4 kB / 0.7864 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.139e-05/0.2606, allocations: 384 / 0.7864 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.719e-05/0.2606, allocations: 384 / 0.7864 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002884/0.2609, allocations: 54.23 kB / 0.7864 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.198e-05/0.261, allocations: 3.938 kB / 0.7864 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.571e-05/0.261, allocations: 3.938 kB / 0.7864 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.261, allocations: 4 kB / 0.7864 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001973/0.2612, allocations: 31.95 kB / 0.7865 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005082/0.2617, allocations: 252.9 kB / 0.7867 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002045/0.2619, allocations: 46.53 kB / 0.7867 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001033/0.2621, allocations: 20.91 kB / 0.7868 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009539/0.263, allocations: 461.5 kB / 0.7872 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.941e-05/0.2631, allocations: 38.5 kB / 0.7872 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 2.545e-06/0.2631, allocations: 0 / 0.7872 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0005645/0.2637, allocations: 85.55 kB / 0.7873 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.384e-05/0.2637, allocations: 51.53 kB / 0.7874 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001488/0.2639, allocations: 113.8 kB / 0.7875 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.948e-05/0.2639, allocations: 25.7 kB / 0.7875 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.494e-05/0.264, allocations: 80.14 kB / 0.7876 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.959e-05/0.2641, allocations: 7.906 kB / 0.7876 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.147e-05/0.2641, allocations: 13.72 kB / 0.7876 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001696/0.2643, allocations: 310.8 kB / 0.7879 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.562e-05/0.2644, allocations: 23.97 kB / 0.7879 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.386e-05/0.2645, allocations: 15.98 kB / 0.7879 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001766/0.2647, allocations: 44.77 kB / 0.788 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.2647, allocations: 3.938 kB / 0.788 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002865/0.265, allocations: 65.66 kB / 0.788 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.265, allocations: 4.094 kB / 0.788 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.265, allocations: 4 kB / 0.7881 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.2651, allocations: 4 kB / 0.7881 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.606e-05/0.2651, allocations: 7.984 kB / 0.7881 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.2652, allocations: 3.938 kB / 0.7881 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.891e-05/0.2652, allocations: 7.984 kB / 0.7881 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.149e-06/0.2652, allocations: 3.938 kB / 0.7881 GB, free: 8.301 MB / 0.6075 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 (2): * Single equations (assignments): 2 * 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 8.521e-05/0.2653, allocations: 117.8 kB / 0.7882 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.071e-05/0.2654, allocations: 0 / 0.7882 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000261/0.2657, allocations: 81.12 kB / 0.7883 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.2657, allocations: 0 / 0.7883 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.2657, allocations: 0 / 0.7883 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.2657, allocations: 0 / 0.7883 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001841/0.2659, allocations: 165.6 kB / 0.7884 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.2659, allocations: 0 / 0.7884 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.442e-05/0.2659, allocations: 7.984 kB / 0.7884 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/0.266, allocations: 4.031 kB / 0.7884 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/0.266, allocations: 4 kB / 0.7884 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.266, allocations: 0 / 0.7884 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.266, allocations: 0 / 0.7884 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002809/0.2663, allocations: 171.3 kB / 0.7886 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.662e-05/0.2663, allocations: 81.09 kB / 0.7887 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.2663, allocations: 4.031 kB / 0.7887 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.944e-05/0.2664, allocations: 7.984 kB / 0.7887 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.517e-05/0.2665, allocations: 4 kB / 0.7887 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-06/0.2665, allocations: 0 / 0.7887 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.409e-05/0.2665, allocations: 87.53 kB / 0.7888 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2665, allocations: 0 / 0.7888 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002464/0.2668, allocations: 15.98 kB / 0.7888 GB, free: 7.461 MB / 0.6075 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 (2): * Single equations (assignments): 2 * 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.0007728/0.2676, allocations: 0.7163 MB / 0.7895 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002749/0.2679, allocations: 35.95 kB / 0.7895 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.149e-06/0.2679, allocations: 0 / 0.7895 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.9e-05/0.268, allocations: 24.08 kB / 0.7896 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004345/0.2685, allocations: 4.938 kB / 0.7896 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006994/0.2692, allocations: 147 kB / 0.7897 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004189/0.2696, allocations: 0.6768 MB / 0.7904 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.665e-05/0.2697, allocations: 3.938 kB / 0.7904 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.129e-05/0.2697, allocations: 19.48 kB / 0.7904 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.2697, allocations: 0 / 0.7904 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01984/0.2896, allocations: 1.571 MB / 0.7919 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.223/7.513, allocations: 9.047 kB / 0.7919 GB, free: 4.234 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Examples_RegNonZeroPower_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Examples_RegNonZeroPower.fmu > Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)