Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.RegNonZeroPowerDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",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.001072/0.001072, allocations: 105.4 kB / 15.7 MB, free: 24 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.001373/0.001372, allocations: 197.4 kB / 16.64 MB, free: 6.449 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.381/1.381, allocations: 205.1 MB / 222.5 MB, free: 4.566 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.702/1.702, 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.001453/0.001453, allocations: 72.25 kB / 0.6718 GB, free: 26.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2495/0.251, allocations: 114.5 MB / 0.7836 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001974/0.253, allocations: 0.5965 MB / 0.7842 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0006502/0.2537, allocations: 338.8 kB / 0.7846 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.235e-05/0.2537, allocations: 0 / 0.7846 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.153e-05/0.2538, allocations: 0 / 0.7846 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.543e-05/0.2538, allocations: 3.938 kB / 0.7846 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004812/0.2543, allocations: 123.6 kB / 0.7847 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.673e-05/0.2544, allocations: 4 kB / 0.7847 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.275e-05/0.2544, allocations: 3.984 kB / 0.7847 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.359e-05/0.2544, allocations: 12 kB / 0.7847 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.685e-05/0.2545, allocations: 0 / 0.7847 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.461e-05/0.2545, allocations: 4 kB / 0.7847 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003611/0.2549, allocations: 271.6 kB / 0.785 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.346e-05/0.2549, allocations: 7.938 kB / 0.785 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.258e-05/0.2549, allocations: 3.984 kB / 0.785 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001681/0.2551, allocations: 87.86 kB / 0.7851 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.2551, allocations: 0 / 0.7851 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.985e-06/0.2551, allocations: 0 / 0.7851 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.2551, allocations: 7.938 kB / 0.7851 GB, free: 11.82 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003526/0.2555, allocations: 343.8 kB / 0.7854 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.2555, allocations: 12.03 kB / 0.7854 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.827e-05/0.2556, allocations: 34.69 kB / 0.7854 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.423e-05/0.2556, allocations: 4.844 kB / 0.7854 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.2558, allocations: 176.3 kB / 0.7856 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.247e-06/0.2558, allocations: 384 / 0.7856 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.858e-05/0.2558, allocations: 384 / 0.7856 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.27e-05/0.2559, allocations: 34.25 kB / 0.7856 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.2559, allocations: 3.938 kB / 0.7856 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.864e-06/0.2559, allocations: 4 kB / 0.7856 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.207e-06/0.2559, allocations: 0 / 0.7856 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.075e-05/0.256, allocations: 4 kB / 0.7856 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001618/0.2561, allocations: 153.7 kB / 0.7858 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.041e-05/0.2562, allocations: 26.55 kB / 0.7858 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.864e-05/0.2562, allocations: 8.922 kB / 0.7858 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007096/0.2569, allocations: 457.5 kB / 0.7863 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.653e-05/0.257, allocations: 38.56 kB / 0.7863 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.257, allocations: 0 / 0.7863 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0005275/0.2575, allocations: 258.4 kB / 0.7865 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.13e-05/0.2576, allocations: 51.41 kB / 0.7866 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.661e-05/0.2576, allocations: 97.84 kB / 0.7867 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.2577, allocations: 29.7 kB / 0.7867 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.961e-05/0.2577, allocations: 80.14 kB / 0.7868 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.186e-05/0.2577, allocations: 7.891 kB / 0.7868 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.348e-05/0.2578, allocations: 17.94 kB / 0.7868 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.2579, allocations: 318.8 kB / 0.7871 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.864e-05/0.2579, allocations: 7.984 kB / 0.7871 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.782e-05/0.2579, allocations: 21.66 kB / 0.7872 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.769e-05/0.258, allocations: 21.72 kB / 0.7872 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.258, allocations: 0 / 0.7872 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001023/0.2581, allocations: 61.56 kB / 0.7872 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.2581, allocations: 11.94 kB / 0.7872 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.2581, allocations: 0 / 0.7872 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.2581, allocations: 0 / 0.7872 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.579e-05/0.2582, allocations: 4 kB / 0.7872 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.2582, allocations: 11.97 kB / 0.7873 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.716e-05/0.2582, allocations: 0 / 0.7873 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.2583, allocations: 0 / 0.7873 GB, free: 9.188 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.373e-05/0.2584, allocations: 114.5 kB / 0.7874 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.739e-05/0.2584, allocations: 11.91 kB / 0.7874 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001311/0.2585, allocations: 53.12 kB / 0.7874 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.2585, allocations: 3.938 kB / 0.7874 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.2586, allocations: 0 / 0.7874 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.2586, allocations: 4.188 kB / 0.7874 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001004/0.2587, allocations: 149.7 kB / 0.7876 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.2587, allocations: 7.984 kB / 0.7876 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.093e-05/0.2587, allocations: 7.984 kB / 0.7876 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.868e-06/0.2587, allocations: 3.938 kB / 0.7876 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.2588, allocations: 4 kB / 0.7876 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.2588, allocations: 0 / 0.7876 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2588, allocations: 0 / 0.7876 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001465/0.2589, allocations: 81.06 kB / 0.7877 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001045/0.259, allocations: 81.05 kB / 0.7878 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.428e-05/0.2591, allocations: 3.984 kB / 0.7878 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.391e-05/0.2591, allocations: 0 / 0.7878 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.837e-05/0.2591, allocations: 12.09 kB / 0.7878 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.539e-06/0.2591, allocations: 0 / 0.7878 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.906e-05/0.2592, allocations: 75.28 kB / 0.7878 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2592, allocations: 4 kB / 0.7878 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002106/0.2594, allocations: 16 kB / 0.7879 GB, free: 8.457 MB / 0.6075 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 (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.0005182/0.2599, allocations: 0.6438 MB / 0.7885 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 8.984e-05/0.26, allocations: 15.94 kB / 0.7885 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.26, allocations: 4 kB / 0.7885 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.803e-05/0.26, allocations: 7.984 kB / 0.7885 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001453/0.2602, allocations: 11.88 kB / 0.7885 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009974/0.2612, allocations: 1.143 MB / 0.7896 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002448/0.2615, allocations: 0.6768 MB / 0.7903 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.831e-05/0.2615, allocations: 8.062 kB / 0.7903 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.971e-05/0.2615, allocations: 11.44 kB / 0.7903 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of SimCode: time 1.644e-06/0.2615, allocations: 0 / 0.7903 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01984/0.2814, allocations: 1.735 MB / 0.792 GB, free: 4.195 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.056/7.337, allocations: 17.3 kB / 0.792 GB, free: 4.18 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_8_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)