Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.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.001867/0.001867, allocations: 102.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.002109/0.002109, allocations: 188.6 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.469/1.469, allocations: 225.6 MB / 247.8 MB, free: 3.738 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.8904/0.8904, allocations: 133.9 MB / 436.6 MB, free: 13.78 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.Examples.RegNonZeroPower,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 68.03 kB / 0.6051 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.441/0.443, allocations: 84.67 MB / 0.6878 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.RegNonZeroPower): time 0.002514/0.4455, allocations: 1.448 MB / 0.6892 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007167/0.4462, allocations: 383.3 kB / 0.6896 GB, free: 0.5234 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.496e-05/0.4463, allocations: 0 / 0.6896 GB, free: 0.5234 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.205e-05/0.4463, allocations: 5.109 kB / 0.6896 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.39e-05/0.4463, allocations: 3.938 kB / 0.6896 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004963/0.4468, allocations: 112.3 kB / 0.6897 GB, free: 460 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.213e-05/0.4469, allocations: 26.05 kB / 0.6897 GB, free: 444 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.863e-05/0.447, allocations: 10.12 kB / 0.6897 GB, free: 436 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.659e-05/0.4471, allocations: 11.41 kB / 0.6897 GB, free: 428 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.538e-05/0.4471, allocations: 15.34 kB / 0.6898 GB, free: 416 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.595e-05/0.4471, allocations: 2.312 kB / 0.6898 GB, free: 416 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004051/0.4475, allocations: 276.5 kB / 0.69 GB, free: 260 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.381e-05/0.4475, allocations: 7.984 kB / 0.69 GB, free: 252 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.876e-05/0.4476, allocations: 10.84 kB / 0.69 GB, free: 244 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001956/0.4478, allocations: 110.6 kB / 0.6901 GB, free: 168 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.4478, allocations: 0 / 0.6901 GB, free: 168 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.402e-06/0.4478, allocations: 0 / 0.6901 GB, free: 168 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.01e-05/0.4478, allocations: 4 kB / 0.6901 GB, free: 164 kB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000524/0.4483, allocations: 359.4 kB / 0.6905 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.4483, allocations: 10.06 kB / 0.6905 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.745e-05/0.4484, allocations: 30.75 kB / 0.6905 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.247e-05/0.4484, allocations: 7.578 kB / 0.6905 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001637/0.4486, allocations: 173.7 kB / 0.6907 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.4486, allocations: 1.875 kB / 0.6907 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.244e-05/0.4486, allocations: 384 / 0.6907 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000181/0.4488, allocations: 54.67 kB / 0.6908 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.4488, allocations: 3.938 kB / 0.6908 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.4488, allocations: 3.938 kB / 0.6908 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.4488, allocations: 1.375 kB / 0.6908 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001653/0.449, allocations: 38.56 kB / 0.6908 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004036/0.4494, allocations: 246.2 kB / 0.691 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001391/0.4495, allocations: 43.38 kB / 0.6911 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.074e-05/0.4496, allocations: 26.92 kB / 0.6911 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007902/0.4504, allocations: 455.1 kB / 0.6915 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.697e-05/0.4505, allocations: 31.47 kB / 0.6916 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.413e-06/0.4505, allocations: 1.125 kB / 0.6916 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0004508/0.4509, allocations: 89.72 kB / 0.6917 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.443e-05/0.451, allocations: 55.53 kB / 0.6917 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.4511, allocations: 105.2 kB / 0.6918 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.848e-05/0.4511, allocations: 26.64 kB / 0.6918 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.351e-05/0.4512, allocations: 85.52 kB / 0.6919 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.229e-05/0.4512, allocations: 5.328 kB / 0.6919 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.55e-05/0.4512, allocations: 11.91 kB / 0.6919 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001777/0.4514, allocations: 320.6 kB / 0.6922 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.138e-05/0.4515, allocations: 16.3 kB / 0.6923 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.307e-05/0.4516, allocations: 18.14 kB / 0.6923 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001502/0.4517, allocations: 44.03 kB / 0.6923 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.4517, allocations: 3.938 kB / 0.6923 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000223/0.4519, allocations: 66.48 kB / 0.6924 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.452, allocations: 13.16 kB / 0.6924 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.452, allocations: 3.984 kB / 0.6924 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.452, allocations: 1.062 kB / 0.6924 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.393e-05/0.4521, allocations: 10.22 kB / 0.6924 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.89e-06/0.4521, allocations: 0 / 0.6924 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.728e-05/0.4521, allocations: 8.266 kB / 0.6924 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.4521, allocations: 0 / 0.6924 GB, free: 13.78 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 (2): * Single equations (assignments): 2 * 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.01e-05/0.4522, allocations: 111.9 kB / 0.6925 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.321e-05/0.4523, allocations: 10.2 kB / 0.6925 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002383/0.4525, allocations: 79.98 kB / 0.6926 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/0.4525, allocations: 5.078 kB / 0.6926 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.4525, allocations: 0 / 0.6926 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.4525, allocations: 3.938 kB / 0.6926 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001904/0.4527, allocations: 159 kB / 0.6928 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.4527, allocations: 1.312 kB / 0.6928 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.495e-05/0.4528, allocations: 9.766 kB / 0.6928 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.4528, allocations: 4.031 kB / 0.6928 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.4528, allocations: 1.188 kB / 0.6928 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.4528, allocations: 0 / 0.6928 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.4528, allocations: 0 / 0.6928 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002559/0.453, allocations: 169.3 kB / 0.6929 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.93e-05/0.4531, allocations: 77.11 kB / 0.693 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.227e-05/0.4531, allocations: 5 kB / 0.693 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.008e-05/0.4532, allocations: 8.703 kB / 0.693 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.184e-05/0.4532, allocations: 4.875 kB / 0.693 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-06/0.4532, allocations: 1.156 kB / 0.693 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.183e-05/0.4533, allocations: 83.73 kB / 0.6931 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.4533, allocations: 0 / 0.6931 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002298/0.4535, allocations: 16.12 kB / 0.6931 GB, free: 13.02 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 (2): * Single equations (assignments): 2 * 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.0006605/0.4542, allocations: 0.7171 MB / 0.6938 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002133/0.4544, allocations: 36.97 kB / 0.6939 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.4544, allocations: 1.188 kB / 0.6939 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.537e-05/0.4545, allocations: 23.33 kB / 0.6939 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003196/0.4548, allocations: 1.156 kB / 0.6939 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004787/0.4553, allocations: 147.1 kB / 0.694 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003308/0.4556, allocations: 0.6779 MB / 0.6947 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.845e-05/0.4556, allocations: 5.594 kB / 0.6947 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.35e-05/0.4556, allocations: 16.56 kB / 0.6947 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of SimCode: time 3.1e-07/0.4556, allocations: 4.062 kB / 0.6947 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02395/0.4796, allocations: 1.598 MB / 0.6963 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.987/8.467, allocations: 6.078 kB / 0.6963 GB, free: 10.55 MB / 0.5137 GB " [Timeout remaining time 651] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_RegNonZeroPower_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_RegNonZeroPower.fmu > IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.944989763200283] Failed to read output from testmodel.py, exit status != 0: 8.53384970407933 8.553671131 8.101580786 Calling exit ...