Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.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.0009219/0.0009219, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.001028/0.001028, allocations: 209.7 kB / 22.24 MB, free: 3.57 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.956/0.956, allocations: 230.6 MB / 256 MB, free: 9.594 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.7724/0.7724, allocations: 203.8 MB / 0.5042 GB, free: 10.49 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.PowerLinearized,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_PowerLinearized",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.001226/0.001226, allocations: 71.84 kB / 0.7182 GB, free: 4.062 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4961/0.4973, allocations: 102 MB / 0.8178 GB, free: 1.062 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.PowerLinearized): time 0.00184/0.4992, allocations: 1.462 MB / 0.8192 GB, free: 52 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002504/0.4994, allocations: 95.94 kB / 0.8193 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.86e-05/0.4994, allocations: 0 / 0.8193 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.756e-05/0.4995, allocations: 8.688 kB / 0.8193 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.818e-05/0.4995, allocations: 4.875 kB / 0.8193 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001965/0.4997, allocations: 14.73 kB / 0.8193 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.558e-05/0.4998, allocations: 33.78 kB / 0.8194 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.251e-05/0.4999, allocations: 8.5 kB / 0.8194 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.667e-05/0.4999, allocations: 7.406 kB / 0.8194 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.395e-05/0.4999, allocations: 10.22 kB / 0.8194 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.178e-05/0.4999, allocations: 3.375 kB / 0.8194 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.621e-05/0.5, allocations: 16.5 kB / 0.8194 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.486e-05/0.5, allocations: 8.797 kB / 0.8194 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.863e-05/0.5, allocations: 8.203 kB / 0.8194 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001126/0.5001, allocations: 36.97 kB / 0.8195 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.5001, allocations: 0 / 0.8195 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.723e-06/0.5001, allocations: 0 / 0.8195 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.5002, allocations: 0 / 0.8195 GB, free: 15.91 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.0003317/0.5005, allocations: 271.1 kB / 0.8197 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.5005, allocations: 9.312 kB / 0.8197 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.779e-05/0.5006, allocations: 36.56 kB / 0.8198 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000106/0.5007, allocations: 11.95 kB / 0.8198 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.221e-05/0.5007, allocations: 115.1 kB / 0.8199 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.966e-05/0.5007, allocations: 1.844 kB / 0.8199 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.115e-06/0.5008, allocations: 384 / 0.8199 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001236/0.5009, allocations: 58.17 kB / 0.8199 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.5009, allocations: 3.938 kB / 0.82 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.754e-06/0.5009, allocations: 0 / 0.82 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.5009, allocations: 4 kB / 0.82 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001262/0.501, allocations: 54.66 kB / 0.82 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002867/0.5013, allocations: 228.9 kB / 0.8202 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001034/0.5014, allocations: 52.2 kB / 0.8203 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.853e-05/0.5015, allocations: 34.02 kB / 0.8203 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.409e-05/0.5015, allocations: 0 / 0.8203 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.991e-05/0.5015, allocations: 38.38 kB / 0.8203 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 8.11e-07/0.5015, allocations: 0 / 0.8203 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002554/0.5018, allocations: 103.6 kB / 0.8204 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.627e-05/0.5018, allocations: 51.92 kB / 0.8205 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.297e-05/0.5019, allocations: 104.3 kB / 0.8206 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.069e-05/0.5019, allocations: 29.7 kB / 0.8206 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.236e-05/0.5019, allocations: 87.06 kB / 0.8207 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.796e-05/0.5019, allocations: 5.766 kB / 0.8207 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.772e-05/0.502, allocations: 17.89 kB / 0.8207 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.042e-05/0.502, allocations: 316.1 kB / 0.821 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.526e-05/0.5021, allocations: 25.58 kB / 0.8211 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.187e-05/0.5021, allocations: 24.8 kB / 0.8211 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001077/0.5022, allocations: 51.81 kB / 0.8211 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.5023, allocations: 4 kB / 0.8211 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001361/0.5024, allocations: 80.95 kB / 0.8212 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.5024, allocations: 8.641 kB / 0.8212 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.5024, allocations: 0 / 0.8212 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.5024, allocations: 0 / 0.8212 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.925e-05/0.5025, allocations: 10.75 kB / 0.8212 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.5025, allocations: 0 / 0.8212 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.51e-05/0.5025, allocations: 23.7 kB / 0.8212 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.649e-06/0.5025, allocations: 2.375 kB / 0.8213 GB, free: 14.32 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 5.456e-05/0.5026, allocations: 114.9 kB / 0.8214 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.186e-05/0.5026, allocations: 0.7031 kB / 0.8214 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.651e-05/0.5026, allocations: 12.33 kB / 0.8214 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.5026, allocations: 0 / 0.8214 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.5026, allocations: 1.938 kB / 0.8214 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.5026, allocations: 0.5625 kB / 0.8214 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000104/0.5027, allocations: 131.6 kB / 0.8215 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.5027, allocations: 0 / 0.8215 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.581e-05/0.5028, allocations: 15.89 kB / 0.8215 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.5028, allocations: 0.8438 kB / 0.8215 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.5028, allocations: 0 / 0.8215 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.5028, allocations: 0 / 0.8215 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.5028, allocations: 5.812 kB / 0.8215 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001707/0.503, allocations: 177.8 kB / 0.8217 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.747e-06/0.503, allocations: 10.14 kB / 0.8217 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.138e-05/0.503, allocations: 4.797 kB / 0.8217 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.374e-05/0.503, allocations: 17.67 kB / 0.8217 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.14e-05/0.503, allocations: 2.109 kB / 0.8217 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-06/0.5031, allocations: 2.344 kB / 0.8217 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.93e-05/0.5031, allocations: 81.36 kB / 0.8218 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5031, allocations: 0 / 0.8218 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.00014/0.5032, allocations: 9.219 kB / 0.8218 GB, free: 13.78 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.0003364/0.5036, allocations: 0.7055 MB / 0.8225 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000156/0.5037, allocations: 52.72 kB / 0.8226 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.5037, allocations: 3.938 kB / 0.8226 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.627e-05/0.5038, allocations: 25.5 kB / 0.8226 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002339/0.504, allocations: 3.016 kB / 0.8226 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003635/0.5044, allocations: 162.6 kB / 0.8227 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.298e-05/0.5044, allocations: 60.33 kB / 0.8228 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.619e-05/0.5044, allocations: 1 kB / 0.8228 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.832e-05/0.5045, allocations: 11.81 kB / 0.8228 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of SimCode: time 5.01e-07/0.5045, allocations: 0 / 0.8228 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01833/0.5228, allocations: 2.07 MB / 0.8248 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.583/7.105, allocations: 8.172 kB / 0.8248 GB, free: 11.96 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_PowerLinearized.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.953142905142158] Failed to read output from testmodel.py, exit status != 0: 7.185227144043893 7.199338854 6.697116701 Calling exit ...