Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001428/0.001428, allocations: 100.3 kB / 19.73 MB, free: 2.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001884/0.001884, allocations: 220.4 kB / 23.03 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.487/1.487, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.003427/0.003427, allocations: 296.7 kB / 313.5 MB, free: 2.617 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.279/1.279, allocations: 180.6 MB / 0.5377 GB, free: 14.39 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00285/0.00285, allocations: 99.14 kB / 0.7403 GB, free: 28.37 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1991/0.202, allocations: 95.38 MB / 0.8334 GB, free: 8.285 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.002106/0.2041, allocations: 0.5968 MB / 0.834 GB, free: 7.688 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0007273/0.2048, allocations: 311.4 kB / 0.8343 GB, free: 7.383 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.6e-05/0.2048, allocations: 3.938 kB / 0.8343 GB, free: 7.379 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.767e-05/0.2048, allocations: 3.938 kB / 0.8343 GB, free: 7.375 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 2.487e-05/0.2049, allocations: 0 / 0.8343 GB, free: 7.375 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005546/0.2054, allocations: 117.7 kB / 0.8344 GB, free: 7.262 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 5.07e-05/0.2055, allocations: 4 kB / 0.8344 GB, free: 7.258 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.236e-05/0.2055, allocations: 8 kB / 0.8345 GB, free: 7.25 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.677e-05/0.2056, allocations: 11.91 kB / 0.8345 GB, free: 7.238 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.192e-05/0.2056, allocations: 8 kB / 0.8345 GB, free: 7.23 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.216e-05/0.2056, allocations: 0 / 0.8345 GB, free: 7.23 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004385/0.2061, allocations: 275.6 kB / 0.8347 GB, free: 6.961 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.57e-05/0.2061, allocations: 0 / 0.8347 GB, free: 6.961 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.925e-05/0.2061, allocations: 11.92 kB / 0.8347 GB, free: 6.949 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002151/0.2063, allocations: 92 kB / 0.8348 GB, free: 6.859 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2063, allocations: 0 / 0.8348 GB, free: 6.859 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2063, allocations: 0 / 0.8348 GB, free: 6.859 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.644e-06/0.2063, allocations: 0 / 0.8348 GB, free: 6.859 MB / 0.5762 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.0004258/0.2068, allocations: 270.2 kB / 0.8351 GB, free: 6.562 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.2068, allocations: 13.34 kB / 0.8351 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.743e-05/0.2068, allocations: 192 / 0.8351 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.269e-05/0.2069, allocations: 34.75 kB / 0.8351 GB, free: 6.508 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.576e-05/0.2069, allocations: 4.938 kB / 0.8351 GB, free: 6.504 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001124/0.207, allocations: 110.5 kB / 0.8353 GB, free: 6.371 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.207, allocations: 384 / 0.8353 GB, free: 6.371 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.064e-05/0.2071, allocations: 4.375 kB / 0.8353 GB, free: 6.367 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001219/0.2072, allocations: 59.72 kB / 0.8353 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.2072, allocations: 0 / 0.8353 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.2072, allocations: 11.94 kB / 0.8353 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.2072, allocations: 0 / 0.8353 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.842e-05/0.2072, allocations: 11.92 kB / 0.8353 GB, free: 6.273 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001738/0.2074, allocations: 120.8 kB / 0.8355 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 5.962e-05/0.2075, allocations: 18.58 kB / 0.8355 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.165e-05/0.2075, allocations: 8.844 kB / 0.8355 GB, free: 6.074 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005875/0.2081, allocations: 79.98 kB / 0.8356 GB, free: 5.996 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.22e-05/0.2081, allocations: 34.5 kB / 0.8356 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.2081, allocations: 0 / 0.8356 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0005262/0.2086, allocations: 177.2 kB / 0.8358 GB, free: 5.746 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/0.2087, allocations: 59.34 kB / 0.8358 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.354e-05/0.2087, allocations: 98.06 kB / 0.8359 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.03e-05/0.2088, allocations: 29.83 kB / 0.8359 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.758e-05/0.2088, allocations: 80.14 kB / 0.836 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.383e-05/0.2088, allocations: 11.91 kB / 0.836 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-05/0.2089, allocations: 17.72 kB / 0.836 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.209, allocations: 322.8 kB / 0.8363 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.112e-05/0.209, allocations: 7.984 kB / 0.8364 GB, free: 5.086 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.198e-05/0.209, allocations: 13.72 kB / 0.8364 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.105e-05/0.2091, allocations: 25.72 kB / 0.8364 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.2091, allocations: 0 / 0.8364 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001109/0.2092, allocations: 65.56 kB / 0.8365 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.2092, allocations: 4 kB / 0.8365 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.2092, allocations: 0 / 0.8365 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.2092, allocations: 0 / 0.8365 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.643e-05/0.2093, allocations: 8 kB / 0.8365 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.2093, allocations: 0 / 0.8365 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.118e-05/0.2093, allocations: 3.984 kB / 0.8365 GB, free: 4.949 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.087e-05/0.2093, allocations: 4 kB / 0.8365 GB, free: 4.945 MB / 0.5762 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 0.0001107/0.2095, allocations: 110.4 kB / 0.8366 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.457e-05/0.2095, allocations: 20 kB / 0.8366 GB, free: 4.809 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001575/0.2096, allocations: 53.36 kB / 0.8366 GB, free: 4.742 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-06/0.2096, allocations: 0 / 0.8366 GB, free: 4.742 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.2096, allocations: 0 / 0.8366 GB, free: 4.742 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.2097, allocations: 4.125 kB / 0.8367 GB, free: 4.738 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001174/0.2098, allocations: 124.8 kB / 0.8368 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.2098, allocations: 3.984 kB / 0.8368 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.931e-05/0.2098, allocations: 7.938 kB / 0.8368 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.2098, allocations: 0 / 0.8368 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.2098, allocations: 8 kB / 0.8368 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.2098, allocations: 0 / 0.8368 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2098, allocations: 0 / 0.8368 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001596/0.21, allocations: 85 kB / 0.8369 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.153e-05/0.21, allocations: 7.969 kB / 0.8369 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.244e-05/0.21, allocations: 0 / 0.8369 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.81e-05/0.2101, allocations: 0 / 0.8369 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.369e-05/0.2101, allocations: 7.984 kB / 0.8369 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.659e-06/0.2101, allocations: 0 / 0.8369 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.558e-05/0.2101, allocations: 75.28 kB / 0.837 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.2101, allocations: 4.156 kB / 0.837 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002196/0.2104, allocations: 27.94 kB / 0.837 GB, free: 4.332 MB / 0.5762 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.0005767/0.2109, allocations: 0.6435 MB / 0.8376 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001071/0.211, allocations: 19.98 kB / 0.8376 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.211, allocations: 0 / 0.8376 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.788e-05/0.2111, allocations: 7.938 kB / 0.8376 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001566/0.2112, allocations: 4 kB / 0.8376 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001222/0.2124, allocations: 1.134 MB / 0.8388 GB, free: 2.406 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.642e-05/0.2125, allocations: 63.59 kB / 0.8388 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.049e-05/0.2125, allocations: 4 kB / 0.8388 GB, free: 2.32 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.41e-05/0.2126, allocations: 11.42 kB / 0.8388 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of SimCode: time 2.9e-07/0.2126, allocations: 0 / 0.8388 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02289/0.2355, allocations: 1.913 MB / 0.8407 GB, free: 0.5742 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.01/11.25, allocations: 21.55 kB / 0.8407 GB, free: 0.5664 MB / 0.5762 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.682609235984273] Failed to read output from testmodel.py, exit status != 0: 11.409186678938568 11.439399089 11.227746152 Calling exit ...