Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.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.Functions.Examples.RegNonZeroPower,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_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.001098/0.001098, allocations: 109.4 kB / 15.69 MB, free: 128 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.00115/0.00115, allocations: 188.9 kB / 16.62 MB, free: 6.582 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.405/1.405, allocations: 205.1 MB / 222.5 MB, free: 4.531 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.715/1.715, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.001465/0.001465, allocations: 70.5 kB / 0.6718 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2418/0.2433, allocations: 114.6 MB / 0.7836 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001884/0.2452, allocations: 0.5897 MB / 0.7842 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000644/0.2459, allocations: 322.9 kB / 0.7845 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.792e-05/0.2459, allocations: 3.938 kB / 0.7845 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.286e-05/0.2459, allocations: 4 kB / 0.7845 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.55e-06/0.246, allocations: 0 / 0.7845 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004227/0.2464, allocations: 102.5 kB / 0.7846 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.58e-05/0.2464, allocations: 4 kB / 0.7846 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.243e-05/0.2465, allocations: 7.984 kB / 0.7846 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.241e-05/0.2465, allocations: 0 / 0.7846 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.065e-05/0.2465, allocations: 0 / 0.7846 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.889e-06/0.2466, allocations: 0 / 0.7846 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00037/0.2469, allocations: 279.6 kB / 0.7849 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.007e-05/0.2469, allocations: 0 / 0.7849 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.547e-05/0.247, allocations: 7.875 kB / 0.7849 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001517/0.2471, allocations: 83.86 kB / 0.785 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.2471, allocations: 0 / 0.785 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.074e-06/0.2471, allocations: 0 / 0.785 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.2472, allocations: 0 / 0.785 GB, free: 11.88 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003008/0.2475, allocations: 331.6 kB / 0.7853 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.2475, allocations: 12.03 kB / 0.7853 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.782e-05/0.2475, allocations: 30.75 kB / 0.7854 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.57e-05/0.2476, allocations: 8.922 kB / 0.7854 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.045e-05/0.2477, allocations: 160.4 kB / 0.7855 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.133e-06/0.2477, allocations: 4.312 kB / 0.7855 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.875e-06/0.2477, allocations: 384 / 0.7855 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.06e-05/0.2478, allocations: 34.27 kB / 0.7856 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.2478, allocations: 3.938 kB / 0.7856 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.69e-06/0.2478, allocations: 0 / 0.7856 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.417e-06/0.2478, allocations: 0 / 0.7856 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.638e-05/0.2478, allocations: 0 / 0.7856 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000124/0.248, allocations: 153.7 kB / 0.7857 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 3.59e-05/0.248, allocations: 18.52 kB / 0.7857 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.318e-05/0.248, allocations: 12.95 kB / 0.7857 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004561/0.2485, allocations: 417.5 kB / 0.7861 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.226e-05/0.2485, allocations: 38.56 kB / 0.7862 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 1.272e-06/0.2485, allocations: 3.938 kB / 0.7862 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001382/0.2487, allocations: 37.64 kB / 0.7862 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.746e-05/0.2487, allocations: 55.39 kB / 0.7863 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.683e-05/0.2488, allocations: 89.86 kB / 0.7863 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.959e-06/0.2488, allocations: 25.7 kB / 0.7864 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.065e-05/0.2488, allocations: 80.14 kB / 0.7864 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.344e-05/0.2488, allocations: 8.188 kB / 0.7865 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.431e-05/0.2489, allocations: 13.84 kB / 0.7865 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.942e-05/0.249, allocations: 314.8 kB / 0.7868 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.352e-06/0.249, allocations: 3.938 kB / 0.7868 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.639e-06/0.249, allocations: 4 kB / 0.7868 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.337e-05/0.249, allocations: 8.859 kB / 0.7868 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.249, allocations: 0 / 0.7868 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.05e-05/0.2491, allocations: 33.69 kB / 0.7868 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.2491, allocations: 4.094 kB / 0.7868 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.331e-06/0.2491, allocations: 7.938 kB / 0.7868 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.2491, allocations: 4 kB / 0.7868 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.598e-05/0.2492, allocations: 0 / 0.7868 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.2492, allocations: 0 / 0.7868 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.221e-05/0.2492, allocations: 0 / 0.7868 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.2492, allocations: 7.875 kB / 0.7868 GB, free: 9.664 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 (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 6.824e-05/0.2493, allocations: 117.8 kB / 0.787 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.828e-05/0.2493, allocations: 0 / 0.787 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.067e-05/0.2494, allocations: 44.75 kB / 0.787 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.2494, allocations: 0 / 0.787 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.2494, allocations: 0 / 0.787 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.2494, allocations: 4 kB / 0.787 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.837e-05/0.2495, allocations: 145.7 kB / 0.7871 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.2495, allocations: 3.984 kB / 0.7871 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.227e-05/0.2495, allocations: 3.984 kB / 0.7871 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.2496, allocations: 0 / 0.7871 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.757e-06/0.2496, allocations: 7.938 kB / 0.7872 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.2496, allocations: 0 / 0.7872 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.2496, allocations: 4.031 kB / 0.7872 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.969e-05/0.2497, allocations: 57.08 kB / 0.7872 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.001e-05/0.2497, allocations: 85.09 kB / 0.7873 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.136e-05/0.2497, allocations: 7.875 kB / 0.7873 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.211e-06/0.2497, allocations: 0 / 0.7873 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.604e-05/0.2498, allocations: 0 / 0.7873 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.834e-06/0.2498, allocations: 0 / 0.7873 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.1e-05/0.2498, allocations: 79.31 kB / 0.7874 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2498, allocations: 0 / 0.7874 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001943/0.25, allocations: 16 kB / 0.7874 GB, free: 8.992 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 (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.0004337/0.2504, allocations: 0.6124 MB / 0.788 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 7.608e-05/0.2505, allocations: 8.031 kB / 0.788 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.2505, allocations: 0 / 0.788 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.436e-06/0.2506, allocations: 7.984 kB / 0.788 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001278/0.2507, allocations: 2.656 kB / 0.788 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002698/0.251, allocations: 114.6 kB / 0.7881 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002141/0.2512, allocations: 0.669 MB / 0.7888 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.581e-05/0.2512, allocations: 3.984 kB / 0.7888 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.563e-05/0.2512, allocations: 11.56 kB / 0.7888 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.2512, allocations: 4 kB / 0.7888 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01761/0.2689, allocations: 1.171 MB / 0.7899 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.944/7.213, allocations: 6.516 kB / 0.7899 GB, free: 6.375 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)