Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.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.0007908/0.0007908, allocations: 109.9 kB / 18.93 MB, free: 1.27 MB / 13.93 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.0008514/0.0008514, allocations: 223.7 kB / 22.26 MB, free: 3.703 MB / 13.93 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 0.9315/0.9315, allocations: 230.6 MB / 256 MB, free: 9.816 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8067/0.8067, allocations: 203.8 MB / 0.5042 GB, free: 10.77 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.001013/0.001013, allocations: 67.7 kB / 0.7182 GB, free: 4.379 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5201/0.5211, allocations: 102 MB / 0.8179 GB, free: 1.285 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.RegNonZeroPower): time 0.002582/0.5237, allocations: 1.477 MB / 0.8193 GB, free: 264 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007672/0.5245, allocations: 398.5 kB / 0.8197 GB, free: 0 / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.197e-05/0.5245, allocations: 112 / 0.8197 GB, free: 0 / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.16e-05/0.5246, allocations: 0.625 kB / 0.8197 GB, free: 0 / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.788e-05/0.5246, allocations: 4.156 kB / 0.8197 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004915/0.5251, allocations: 131.6 kB / 0.8198 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.405e-05/0.5252, allocations: 20.2 kB / 0.8198 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.5253, allocations: 12.77 kB / 0.8198 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.413e-05/0.5254, allocations: 9.391 kB / 0.8198 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.672e-05/0.5255, allocations: 9.078 kB / 0.8199 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.17e-05/0.5255, allocations: 2.438 kB / 0.8199 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003859/0.5259, allocations: 282.7 kB / 0.8201 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.833e-05/0.5259, allocations: 1.312 kB / 0.8201 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.747e-05/0.5259, allocations: 14.91 kB / 0.8201 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002958/0.5262, allocations: 107.3 kB / 0.8202 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 8.426e-06/0.5262, allocations: 0 / 0.8202 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.475e-06/0.5262, allocations: 4 kB / 0.8203 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.043e-05/0.5262, allocations: 3.938 kB / 0.8203 GB, free: 15.79 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0008785/0.5271, allocations: 300.9 kB / 0.8205 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.859e-05/0.5272, allocations: 9.156 kB / 0.8206 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.299e-05/0.5272, allocations: 33.97 kB / 0.8206 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.615e-05/0.5273, allocations: 1.875 kB / 0.8206 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.306e-05/0.5273, allocations: 108 kB / 0.8207 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.5274, allocations: 384 / 0.8207 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.202e-05/0.5274, allocations: 4.375 kB / 0.8207 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001701/0.5275, allocations: 53.94 kB / 0.8207 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.5276, allocations: 3.938 kB / 0.8207 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.5276, allocations: 0.5156 kB / 0.8207 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.5276, allocations: 1.062 kB / 0.8207 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001132/0.5277, allocations: 33.41 kB / 0.8208 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003927/0.5281, allocations: 226.7 kB / 0.821 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001081/0.5282, allocations: 42.86 kB / 0.821 GB, free: 15 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.493e-05/0.5282, allocations: 22.67 kB / 0.8211 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003785/0.5286, allocations: 79.42 kB / 0.8211 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.329e-05/0.5286, allocations: 31.17 kB / 0.8212 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.583e-06/0.5286, allocations: 0 / 0.8212 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002832/0.5289, allocations: 85.42 kB / 0.8212 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.389e-05/0.529, allocations: 53.89 kB / 0.8213 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.13e-05/0.529, allocations: 103.5 kB / 0.8214 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.153e-05/0.5291, allocations: 25.7 kB / 0.8214 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.468e-05/0.5291, allocations: 92.31 kB / 0.8215 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.996e-05/0.5291, allocations: 4.516 kB / 0.8215 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.811e-05/0.5291, allocations: 15.69 kB / 0.8215 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.497e-05/0.5292, allocations: 316 kB / 0.8218 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.692e-05/0.5293, allocations: 21.17 kB / 0.8218 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.227e-05/0.5293, allocations: 18.14 kB / 0.8219 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.711e-05/0.5294, allocations: 37.73 kB / 0.8219 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.5294, allocations: 7.875 kB / 0.8219 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001483/0.5296, allocations: 82.36 kB / 0.822 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.5296, allocations: 8.719 kB / 0.822 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.5296, allocations: 0 / 0.822 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.5296, allocations: 0 / 0.822 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.808e-05/0.5297, allocations: 7.781 kB / 0.822 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/0.5297, allocations: 3.469 kB / 0.822 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.601e-05/0.5297, allocations: 7.578 kB / 0.822 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.5297, allocations: 1.062 kB / 0.822 GB, free: 14.2 MB / 0.6198 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 7.571e-05/0.5298, allocations: 120.4 kB / 0.8221 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.239e-05/0.5298, allocations: 5.969 kB / 0.8221 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000166/0.53, allocations: 73.75 kB / 0.8222 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.53, allocations: 3.984 kB / 0.8222 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.53, allocations: 0.75 kB / 0.8222 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.53, allocations: 0 / 0.8222 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001189/0.5301, allocations: 136.7 kB / 0.8223 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.5301, allocations: 1.125 kB / 0.8223 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.561e-05/0.5302, allocations: 17.12 kB / 0.8224 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.5302, allocations: 0.75 kB / 0.8224 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.154e-06/0.5302, allocations: 1.625 kB / 0.8224 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.5302, allocations: 0 / 0.8224 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.5302, allocations: 0 / 0.8224 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001634/0.5303, allocations: 168 kB / 0.8225 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.276e-06/0.5304, allocations: 6.516 kB / 0.8225 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.298e-05/0.5304, allocations: 4.797 kB / 0.8225 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.008e-05/0.5304, allocations: 6.422 kB / 0.8225 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.31e-05/0.5304, allocations: 4.219 kB / 0.8225 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.666e-06/0.5305, allocations: 0 / 0.8225 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.509e-05/0.5305, allocations: 85.77 kB / 0.8226 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.1e-08/0.5305, allocations: 0 / 0.8226 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001686/0.5307, allocations: 12.25 kB / 0.8226 GB, free: 13.62 MB / 0.6198 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.0004485/0.5311, allocations: 0.7102 MB / 0.8233 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001455/0.5313, allocations: 38.39 kB / 0.8234 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.5313, allocations: 0.875 kB / 0.8234 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.918e-05/0.5313, allocations: 20.91 kB / 0.8234 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002545/0.5316, allocations: 5.125 kB / 0.8234 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003961/0.532, allocations: 147.5 kB / 0.8235 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001875/0.5321, allocations: 0.6835 MB / 0.8242 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.973e-05/0.5322, allocations: 11.27 kB / 0.8242 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.534e-05/0.5322, allocations: 13.55 kB / 0.8242 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of SimCode: time 5.31e-07/0.5322, allocations: 0 / 0.8242 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01807/0.5503, allocations: 1.705 MB / 0.8259 GB, free: 11.63 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.721/7.271, allocations: 7.547 kB / 0.8259 GB, free: 11.62 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Utilities_Math_Examples_RegNonZeroPower.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.283298799069598] Failed to read output from testmodel.py, exit status != 0: 7.347701413091272 7.360723172 6.831802906 Calling exit ...