Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.RegNonZeroPowerDerivativeCheck,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",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 1.777/1.777, allocations: 287.4 MB / 302.6 MB, free: 8.336 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.0009421/0.0009423, allocations: 174.6 kB / 371.1 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.519/1.519, allocations: 205.4 MB / 0.6298 GB, free: 10.58 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.000822/0.000822, allocations: 93 kB / 0.7431 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003626/0.0003629, allocations: 12.83 kB / 0.8662 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2489/0.2493, allocations: 115.3 MB / 0.9787 GB, free: 28.09 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.000791/0.2502, allocations: 327.6 kB / 0.9791 GB, free: 27.76 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0005622/0.2507, allocations: 319.2 kB / 0.9794 GB, free: 27.45 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.148e-05/0.2508, allocations: 0 / 0.9794 GB, free: 27.45 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.29e-05/0.2508, allocations: 0 / 0.9794 GB, free: 27.45 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 2.624e-05/0.2508, allocations: 0 / 0.9794 GB, free: 27.45 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003696/0.2512, allocations: 75.84 kB / 0.9794 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.24e-05/0.2513, allocations: 15.94 kB / 0.9795 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.356e-05/0.2513, allocations: 0 / 0.9795 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.832e-05/0.2513, allocations: 0 / 0.9795 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.865e-05/0.2514, allocations: 7.984 kB / 0.9795 GB, free: 27.35 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.449e-05/0.2514, allocations: 0 / 0.9795 GB, free: 27.35 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003251/0.2518, allocations: 263.7 kB / 0.9797 GB, free: 27.09 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.037e-05/0.2518, allocations: 4 kB / 0.9797 GB, free: 27.09 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.92e-05/0.2518, allocations: 29.64 kB / 0.9797 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001239/0.2519, allocations: 63.88 kB / 0.9798 GB, free: 26.99 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.252, allocations: 0 / 0.9798 GB, free: 26.99 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.665e-06/0.252, allocations: 3.938 kB / 0.9798 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.252, allocations: 4 kB / 0.9798 GB, free: 26.98 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003388/0.2523, allocations: 337.5 kB / 0.9801 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/0.2524, allocations: 12.03 kB / 0.9801 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.192e-05/0.2524, allocations: 34.75 kB / 0.9802 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.104e-05/0.2525, allocations: 4.844 kB / 0.9802 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001038/0.2526, allocations: 164.7 kB / 0.9803 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.2526, allocations: 384 / 0.9803 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.797e-05/0.2526, allocations: 384 / 0.9803 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.822e-05/0.2527, allocations: 42.25 kB / 0.9804 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.2528, allocations: 3.938 kB / 0.9804 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.185e-06/0.2528, allocations: 0 / 0.9804 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.2528, allocations: 4 kB / 0.9804 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.088e-05/0.2528, allocations: 3.938 kB / 0.9804 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001443/0.253, allocations: 161.5 kB / 0.9805 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.572e-05/0.253, allocations: 18.61 kB / 0.9806 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.728e-05/0.253, allocations: 8.922 kB / 0.9806 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000612/0.2537, allocations: 465.5 kB / 0.981 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/0.2537, allocations: 34.56 kB / 0.9811 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.2537, allocations: 0 / 0.9811 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0005144/0.2542, allocations: 254.3 kB / 0.9813 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.52e-05/0.2543, allocations: 51.41 kB / 0.9813 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.925e-05/0.2543, allocations: 97.8 kB / 0.9814 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.085e-05/0.2543, allocations: 29.7 kB / 0.9815 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.128e-05/0.2544, allocations: 80.48 kB / 0.9815 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.56e-05/0.2544, allocations: 15.89 kB / 0.9816 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.066e-06/0.2544, allocations: 0 / 0.9816 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.204e-05/0.2545, allocations: 310.8 kB / 0.9819 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.571e-05/0.2545, allocations: 4 kB / 0.9819 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.427e-05/0.2545, allocations: 25.69 kB / 0.9819 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.944e-05/0.2546, allocations: 25.72 kB / 0.9819 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-07/0.2546, allocations: 7.938 kB / 0.9819 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.872e-05/0.2547, allocations: 49.64 kB / 0.982 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.2547, allocations: 11.92 kB / 0.982 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.2547, allocations: 0 / 0.982 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.2547, allocations: 0 / 0.982 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.106e-05/0.2548, allocations: 8 kB / 0.982 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.2548, allocations: 0 / 0.982 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.789e-05/0.2548, allocations: 0 / 0.982 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.2548, allocations: 4 kB / 0.982 GB, free: 24.38 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.899e-05/0.2549, allocations: 117.8 kB / 0.9821 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.93e-05/0.2549, allocations: 7.938 kB / 0.9821 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001137/0.255, allocations: 57.08 kB / 0.9822 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/0.255, allocations: 0 / 0.9822 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.2551, allocations: 0 / 0.9822 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.2551, allocations: 0 / 0.9822 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.669e-05/0.2551, allocations: 153.7 kB / 0.9823 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.2551, allocations: 4 kB / 0.9823 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.993e-05/0.2552, allocations: 4 kB / 0.9823 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.2552, allocations: 3.938 kB / 0.9823 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.2552, allocations: 4 kB / 0.9823 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.2552, allocations: 3.938 kB / 0.9823 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.2552, allocations: 0 / 0.9823 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001213/0.2554, allocations: 81.05 kB / 0.9824 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.431e-05/0.2554, allocations: 81.05 kB / 0.9825 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.344e-05/0.2554, allocations: 96 / 0.9825 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.651e-05/0.2554, allocations: 12 kB / 0.9825 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.457e-05/0.2555, allocations: 0 / 0.9825 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.2555, allocations: 4 kB / 0.9825 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.009e-05/0.2555, allocations: 83.27 kB / 0.9826 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2555, allocations: 0 / 0.9826 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002193/0.2557, allocations: 20 kB / 0.9826 GB, free: 23.66 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (3): * Single equations (assignments): 3 * 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.0003947/0.2561, allocations: 0.6437 MB / 0.9832 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 9.448e-05/0.2562, allocations: 15.98 kB / 0.9832 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.2563, allocations: 0 / 0.9832 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.499e-05/0.2563, allocations: 15.88 kB / 0.9833 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001599/0.2564, allocations: 7.938 kB / 0.9833 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004429/0.2569, allocations: 367.8 kB / 0.9836 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001245/0.257, allocations: 0.677 MB / 0.9843 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.153e-05/0.2571, allocations: 4 kB / 0.9843 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.036e-05/0.2571, allocations: 15.44 kB / 0.9843 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of SimCode: time 2.21e-07/0.2571, allocations: 4.062 kB / 0.9843 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01286/0.27, allocations: 1.512 MB / 0.9858 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001917/0.2702, allocations: 218.6 kB / 0.986 GB, free: 20.24 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.549/1.819, allocations: 0 / 0.986 GB, free: 20.24 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)