Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00145/0.00145, allocations: 105.7 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001601/0.001601, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.581/1.581, allocations: 225.6 MB / 247.8 MB, free: 3.734 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8727/0.8727, allocations: 133.9 MB / 436.6 MB, free: 13.84 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 67.89 kB / 0.6051 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4347/0.4366, allocations: 84.68 MB / 0.6878 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001645/0.4382, allocations: 0.5681 MB / 0.6884 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005887/0.4388, allocations: 334.7 kB / 0.6887 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.657e-05/0.4388, allocations: 0 / 0.6887 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.622e-05/0.4389, allocations: 0 / 0.6887 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.633e-06/0.4389, allocations: 1.188 kB / 0.6887 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003961/0.4393, allocations: 110.2 kB / 0.6888 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.324e-05/0.4393, allocations: 1.406 kB / 0.6888 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.492e-05/0.4394, allocations: 7.984 kB / 0.6888 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.452e-05/0.4394, allocations: 5.484 kB / 0.6888 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.361e-05/0.4394, allocations: 3.984 kB / 0.6888 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.979e-06/0.4394, allocations: 1.469 kB / 0.6888 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000336/0.4397, allocations: 273 kB / 0.6891 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.259e-05/0.4397, allocations: 1 kB / 0.6891 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.466e-05/0.4398, allocations: 0 / 0.6891 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000169/0.4399, allocations: 85.92 kB / 0.6892 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.4399, allocations: 1.344 kB / 0.6892 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.432e-06/0.4399, allocations: 0 / 0.6892 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.079e-06/0.4399, allocations: 0 / 0.6892 GB, free: 0.832 MB / 0.4981 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.000243/0.4402, allocations: 336.3 kB / 0.6895 GB, free: 472 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.4402, allocations: 8.938 kB / 0.6895 GB, free: 472 kB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.841e-05/0.4403, allocations: 30.75 kB / 0.6895 GB, free: 432 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.016e-05/0.4403, allocations: 2.156 kB / 0.6895 GB, free: 432 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.277e-05/0.4404, allocations: 160.4 kB / 0.6897 GB, free: 232 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.4404, allocations: 1.531 kB / 0.6897 GB, free: 232 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.215e-06/0.4404, allocations: 8.359 kB / 0.6897 GB, free: 224 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.303e-05/0.4405, allocations: 32.42 kB / 0.6897 GB, free: 188 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.4405, allocations: 7.938 kB / 0.6897 GB, free: 180 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.4405, allocations: 1.156 kB / 0.6897 GB, free: 180 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.4405, allocations: 0 / 0.6897 GB, free: 180 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.094e-05/0.4405, allocations: 1 kB / 0.6897 GB, free: 180 kB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001209/0.4406, allocations: 142.8 kB / 0.6899 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 4.166e-05/0.4407, allocations: 16.64 kB / 0.6899 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.153e-05/0.4407, allocations: 14.28 kB / 0.6899 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005277/0.4412, allocations: 424.7 kB / 0.6903 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.456e-05/0.4413, allocations: 39.62 kB / 0.6904 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.4413, allocations: 0 / 0.6904 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0001457/0.4414, allocations: 35.11 kB / 0.6904 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.476e-05/0.4414, allocations: 56.41 kB / 0.6904 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.349e-05/0.4415, allocations: 93.98 kB / 0.6905 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.446e-05/0.4415, allocations: 25.7 kB / 0.6906 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.879e-05/0.4416, allocations: 85.25 kB / 0.6906 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.719e-05/0.4416, allocations: 7.891 kB / 0.6906 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.935e-05/0.4416, allocations: 16.22 kB / 0.6907 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001552/0.4418, allocations: 318.8 kB / 0.691 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.066e-05/0.4418, allocations: 0.9688 kB / 0.691 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.821e-06/0.4418, allocations: 1.062 kB / 0.691 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.674e-05/0.4418, allocations: 16.05 kB / 0.691 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.4418, allocations: 0 / 0.691 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.568e-05/0.4419, allocations: 31.55 kB / 0.691 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.4419, allocations: 5.812 kB / 0.691 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.4419, allocations: 3.938 kB / 0.691 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.4419, allocations: 0 / 0.691 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.271e-05/0.442, allocations: 6.172 kB / 0.691 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.442, allocations: 0 / 0.691 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.162e-05/0.442, allocations: 5.188 kB / 0.691 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/0.442, allocations: 4.031 kB / 0.691 GB, free: 14.69 MB / 0.5137 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 7.844e-05/0.4421, allocations: 112 kB / 0.6911 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.869e-05/0.4421, allocations: 0 / 0.6911 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.421e-05/0.4422, allocations: 42.14 kB / 0.6912 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.4422, allocations: 3.984 kB / 0.6912 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.4422, allocations: 1.031 kB / 0.6912 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.4422, allocations: 0 / 0.6912 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001078/0.4423, allocations: 142.8 kB / 0.6913 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.4423, allocations: 5.344 kB / 0.6913 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.1e-05/0.4423, allocations: 1.062 kB / 0.6913 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.4423, allocations: 1.188 kB / 0.6913 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/0.4423, allocations: 3.938 kB / 0.6913 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.4423, allocations: 0 / 0.6913 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.4423, allocations: 1.094 kB / 0.6913 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.927e-05/0.4424, allocations: 62.88 kB / 0.6914 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.154e-05/0.4424, allocations: 82.52 kB / 0.6915 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.175e-05/0.4425, allocations: 3.938 kB / 0.6915 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.474e-06/0.4425, allocations: 0.9375 kB / 0.6915 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.087e-06/0.4425, allocations: 0 / 0.6915 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-06/0.4425, allocations: 1.219 kB / 0.6915 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.679e-05/0.4425, allocations: 79.27 kB / 0.6916 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of sort global known variables: time 6e-08/0.4425, allocations: 0 / 0.6916 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000187/0.4427, allocations: 12.94 kB / 0.6916 GB, free: 14.07 MB / 0.5137 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.0004919/0.4432, allocations: 0.6166 MB / 0.6922 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 8.569e-05/0.4433, allocations: 7.562 kB / 0.6922 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.4433, allocations: 1.062 kB / 0.6922 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 7.274e-06/0.4433, allocations: 2.219 kB / 0.6922 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000127/0.4434, allocations: 4.203 kB / 0.6922 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00034/0.4437, allocations: 118 kB / 0.6923 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003401/0.4441, allocations: 0.6699 MB / 0.693 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.298e-05/0.4441, allocations: 5.938 kB / 0.693 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.953e-05/0.4441, allocations: 7.438 kB / 0.693 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of SimCode: time 3.61e-07/0.4441, allocations: 1.188 kB / 0.693 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02395/0.4681, allocations: 1.18 MB / 0.6941 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.947/8.415, allocations: 11.98 kB / 0.6941 GB, free: 11.93 MB / 0.5137 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPower_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPower.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.998180906288326] Failed to read output from testmodel.py, exit status != 0: 8.48319761408493 8.508693136 8.063886397 Calling exit ...