Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.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.Functions.Examples.RegNonZeroPower,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Functions_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.74/2.74, allocations: 287.5 MB / 302.4 MB, free: 8.277 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.001296/0.001296, allocations: 182.3 kB / 371 MB, free: 10.85 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.146/2.146, allocations: 205.4 MB / 0.6297 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009134/0.0009131, allocations: 97.14 kB / 0.743 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005181/0.0005184, allocations: 13.75 kB / 0.8659 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2935/0.294, allocations: 115.3 MB / 0.9785 GB, free: 28.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.0008183/0.2949, allocations: 319.6 kB / 0.9788 GB, free: 27.93 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.000683/0.2956, allocations: 299.3 kB / 0.9791 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.409e-05/0.2956, allocations: 0 / 0.9791 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.004e-05/0.2957, allocations: 0 / 0.9791 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.114e-06/0.2957, allocations: 0 / 0.9791 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000413/0.2961, allocations: 75.83 kB / 0.9791 GB, free: 27.56 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 3.923e-05/0.2962, allocations: 4 kB / 0.9791 GB, free: 27.56 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.865e-05/0.2962, allocations: 0 / 0.9791 GB, free: 27.56 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.35e-05/0.2962, allocations: 0 / 0.9791 GB, free: 27.56 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 2.611e-05/0.2963, allocations: 4 kB / 0.9791 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.104e-05/0.2963, allocations: 4 kB / 0.9791 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004914/0.2968, allocations: 267.6 kB / 0.9794 GB, free: 27.29 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.993e-06/0.2968, allocations: 0 / 0.9794 GB, free: 27.29 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.385e-05/0.2968, allocations: 25.7 kB / 0.9794 GB, free: 27.26 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001353/0.297, allocations: 51.91 kB / 0.9795 GB, free: 27.21 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.297, allocations: 0 / 0.9795 GB, free: 27.21 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.964e-06/0.297, allocations: 0 / 0.9795 GB, free: 27.21 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.297, allocations: 0 / 0.9795 GB, free: 27.21 MB / 0.6198 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.0002579/0.2973, allocations: 339.4 kB / 0.9798 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.2974, allocations: 12.02 kB / 0.9798 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.795e-05/0.2974, allocations: 38.5 kB / 0.9798 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.755e-05/0.2974, allocations: 3.938 kB / 0.9798 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.102e-05/0.2975, allocations: 163 kB / 0.98 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.2976, allocations: 0 / 0.98 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.179e-05/0.2976, allocations: 4 kB / 0.98 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.68e-05/0.2977, allocations: 29.69 kB / 0.98 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.2977, allocations: 0 / 0.98 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.2977, allocations: 0 / 0.98 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.726e-06/0.2977, allocations: 0 / 0.98 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.341e-05/0.2978, allocations: 8 kB / 0.98 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001133/0.2979, allocations: 149.6 kB / 0.9802 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.689e-05/0.2979, allocations: 18.52 kB / 0.9802 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.735e-05/0.298, allocations: 8.953 kB / 0.9802 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005677/0.2985, allocations: 429.5 kB / 0.9806 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.749e-05/0.2986, allocations: 30.56 kB / 0.9806 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.523e-06/0.2986, allocations: 0 / 0.9806 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001597/0.2988, allocations: 33.69 kB / 0.9807 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.856e-05/0.2988, allocations: 55.34 kB / 0.9807 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.229e-05/0.2988, allocations: 89.86 kB / 0.9808 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.677e-06/0.2988, allocations: 25.7 kB / 0.9808 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.528e-05/0.2989, allocations: 88.14 kB / 0.9809 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.531e-05/0.2989, allocations: 8.031 kB / 0.9809 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.705e-06/0.2989, allocations: 0 / 0.9809 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.909e-05/0.299, allocations: 310.8 kB / 0.9812 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.088e-05/0.299, allocations: 0 / 0.9812 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.318e-06/0.299, allocations: 0 / 0.9812 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.079e-05/0.299, allocations: 7.953 kB / 0.9812 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.2991, allocations: 0 / 0.9812 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.34e-05/0.2991, allocations: 33.69 kB / 0.9813 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.2992, allocations: 14.12 kB / 0.9813 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.2992, allocations: 0 / 0.9813 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.2992, allocations: 3.938 kB / 0.9813 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.005e-05/0.2993, allocations: 0 / 0.9813 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.882e-06/0.2993, allocations: 3.938 kB / 0.9813 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.263e-05/0.2993, allocations: 0 / 0.9813 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.762e-06/0.2993, allocations: 4 kB / 0.9813 GB, free: 25.02 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.845e-05/0.2994, allocations: 115.1 kB / 0.9814 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.405e-05/0.2994, allocations: 0 / 0.9814 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.295e-05/0.2995, allocations: 41.09 kB / 0.9814 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.2995, allocations: 4 kB / 0.9814 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.2996, allocations: 0 / 0.9814 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.2996, allocations: 0 / 0.9814 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.175e-05/0.2996, allocations: 149.7 kB / 0.9816 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.2997, allocations: 7.891 kB / 0.9816 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.807e-05/0.2997, allocations: 4 kB / 0.9816 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.2997, allocations: 0 / 0.9816 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.2997, allocations: 4 kB / 0.9816 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.2997, allocations: 0 / 0.9816 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.2997, allocations: 8.031 kB / 0.9816 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.139e-05/0.2998, allocations: 61.06 kB / 0.9817 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.2e-05/0.2999, allocations: 85 kB / 0.9818 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.178e-05/0.2999, allocations: 0 / 0.9818 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.427e-06/0.2999, allocations: 0 / 0.9818 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.64e-05/0.2999, allocations: 0 / 0.9818 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.025e-06/0.2999, allocations: 0 / 0.9818 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.535e-05/0.3, allocations: 87.31 kB / 0.9818 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.3e-07/0.3, allocations: 0 / 0.9818 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002528/0.3002, allocations: 8 kB / 0.9818 GB, free: 24.36 MB / 0.6198 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 (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.0003378/0.3006, allocations: 0.6085 MB / 0.9824 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.285e-05/0.3007, allocations: 12.02 kB / 0.9824 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3007, allocations: 0 / 0.9824 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.017e-06/0.3007, allocations: 0 / 0.9824 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001693/0.3009, allocations: 5.031 kB / 0.9825 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002862/0.3012, allocations: 108.4 kB / 0.9826 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001154/0.3013, allocations: 0.677 MB / 0.9832 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.54e-05/0.3013, allocations: 3.984 kB / 0.9832 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.656e-05/0.3014, allocations: 11.56 kB / 0.9832 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of SimCode: time 1.683e-06/0.3014, allocations: 0 / 0.9832 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02272/0.3241, allocations: 0.9963 MB / 0.9842 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002786/0.3244, allocations: 194.1 kB / 0.9844 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.487/2.811, allocations: 11.94 kB / 0.9844 GB, free: 21.75 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)