Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.JSONWriter.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.001409/0.001409, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001573/0.001573, allocations: 213.4 kB / 22.24 MB, free: 5.242 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.47/1.47, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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 1.299/1.299, allocations: 203.8 MB / 0.5041 GB, free: 4.605 MB / 414.1 MB " [Timeout remaining time 178] 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: translateModel(IDEAS.Utilities.IO.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.JSONWriter") translateModel(IDEAS.Utilities.IO.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.JSONWriter") [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.002502/0.002502, allocations: 63.91 kB / 0.7186 GB, free: 1.926 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6927/0.6952, allocations: 102 MB / 0.8182 GB, free: 28.85 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.JSONWriter): time 0.003071/0.6983, allocations: 1.639 MB / 0.8198 GB, free: 27.76 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.001028/0.6993, allocations: 0.5824 MB / 0.8204 GB, free: 27.38 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.877e-05/0.6994, allocations: 11.31 kB / 0.8204 GB, free: 27.37 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0001647/0.6996, allocations: 28.2 kB / 0.8204 GB, free: 27.35 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0002586/0.6998, allocations: 66.53 kB / 0.8205 GB, free: 27.31 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.000196/0.7, allocations: 79.02 kB / 0.8206 GB, free: 27.27 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0002075/0.7003, allocations: 133.5 kB / 0.8207 GB, free: 27.21 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001395/0.7004, allocations: 31.28 kB / 0.8207 GB, free: 27.2 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001849/0.7006, allocations: 66.92 kB / 0.8208 GB, free: 27.16 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000118/0.7007, allocations: 60.8 kB / 0.8209 GB, free: 27.14 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 2.972e-05/0.7007, allocations: 8.75 kB / 0.8209 GB, free: 27.14 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 7.934e-05/0.7008, allocations: 28.17 kB / 0.8209 GB, free: 27.13 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 9.514e-05/0.7009, allocations: 45.97 kB / 0.8209 GB, free: 27.11 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 5.838e-05/0.701, allocations: 48.14 kB / 0.821 GB, free: 27.08 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0002476/0.7012, allocations: 157.4 kB / 0.8211 GB, free: 27.02 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.7012, allocations: 0.7969 kB / 0.8211 GB, free: 27.02 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.483e-06/0.7012, allocations: 1.219 kB / 0.8211 GB, free: 27.02 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.7012, allocations: 0 / 0.8211 GB, free: 27.02 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005841/0.7018, allocations: 399.9 kB / 0.8215 GB, free: 26.67 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.7018, allocations: 11.56 kB / 0.8215 GB, free: 26.67 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000182/0.702, allocations: 29.8 kB / 0.8216 GB, free: 26.66 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000314/0.7023, allocations: 193 kB / 0.8217 GB, free: 26.49 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.7024, allocations: 4.094 kB / 0.8218 GB, free: 26.49 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.724e-05/0.7024, allocations: 8.125 kB / 0.8218 GB, free: 26.48 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003535/0.7027, allocations: 159.6 kB / 0.8219 GB, free: 26.37 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.7027, allocations: 0.6562 kB / 0.8219 GB, free: 26.37 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.607e-05/0.7027, allocations: 4.875 kB / 0.8219 GB, free: 26.37 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.7028, allocations: 2 kB / 0.8219 GB, free: 26.37 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002599/0.703, allocations: 66.72 kB / 0.822 GB, free: 26.36 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005325/0.7035, allocations: 307 kB / 0.8223 GB, free: 26.11 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00014/0.7037, allocations: 44.38 kB / 0.8223 GB, free: 26.08 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001086/0.7038, allocations: 30 kB / 0.8223 GB, free: 26.07 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.082e-05/0.7038, allocations: 5.203 kB / 0.8224 GB, free: 26.07 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002299/0.704, allocations: 153.4 kB / 0.8225 GB, free: 25.93 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.704, allocations: 0 / 0.8225 GB, free: 25.93 MB / 0.6387 GB Notification: Performance of matching and sorting (n=3): time 0.0004277/0.7045, allocations: 121.9 kB / 0.8226 GB, free: 25.88 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.534e-05/0.7045, allocations: 83.34 kB / 0.8227 GB, free: 25.78 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000222/0.7047, allocations: 235 kB / 0.8229 GB, free: 25.64 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.402e-05/0.7047, allocations: 29.95 kB / 0.8229 GB, free: 25.61 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 6.066e-05/0.7048, allocations: 131.5 kB / 0.8231 GB, free: 25.49 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 1.94e-05/0.7048, allocations: 13.77 kB / 0.8231 GB, free: 25.48 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.534e-05/0.7049, allocations: 18.97 kB / 0.8231 GB, free: 25.46 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 5.667e-05/0.7049, allocations: 324.5 kB / 0.8234 GB, free: 25.14 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001116/0.705, allocations: 27.72 kB / 0.8234 GB, free: 25.13 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001188/0.7051, allocations: 75.95 kB / 0.8235 GB, free: 25.07 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002143/0.7054, allocations: 70.81 kB / 0.8236 GB, free: 25.03 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.7054, allocations: 1.25 kB / 0.8236 GB, free: 25.03 MB / 0.6387 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002745/0.7056, allocations: 104.8 kB / 0.8237 GB, free: 24.98 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.7057, allocations: 5.625 kB / 0.8237 GB, free: 24.98 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.7057, allocations: 2.125 kB / 0.8237 GB, free: 24.98 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.7057, allocations: 1.406 kB / 0.8237 GB, free: 24.98 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/0.7058, allocations: 11.31 kB / 0.8237 GB, free: 24.98 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.7058, allocations: 5.188 kB / 0.8237 GB, free: 24.97 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.656e-05/0.7059, allocations: 11.28 kB / 0.8237 GB, free: 24.97 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.036e-06/0.7059, allocations: 1.375 kB / 0.8237 GB, free: 24.97 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 8.763e-05/0.706, allocations: 137.1 kB / 0.8238 GB, free: 24.84 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.941e-05/0.706, allocations: 20.55 kB / 0.8239 GB, free: 24.83 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.468e-05/0.706, allocations: 16.73 kB / 0.8239 GB, free: 24.82 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.706, allocations: 0.7031 kB / 0.8239 GB, free: 24.82 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.706, allocations: 3.938 kB / 0.8239 GB, free: 24.82 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.706, allocations: 1.125 kB / 0.8239 GB, free: 24.82 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001194/0.7062, allocations: 149.3 kB / 0.824 GB, free: 24.68 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.7062, allocations: 0 / 0.824 GB, free: 24.68 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.058e-05/0.7062, allocations: 9.844 kB / 0.824 GB, free: 24.68 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.7063, allocations: 6.344 kB / 0.824 GB, free: 24.68 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.7063, allocations: 4 kB / 0.824 GB, free: 24.67 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.7063, allocations: 0 / 0.824 GB, free: 24.67 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.7063, allocations: 2.391 kB / 0.8241 GB, free: 24.67 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000267/0.7065, allocations: 124.7 kB / 0.8242 GB, free: 24.59 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 2.012e-05/0.7065, allocations: 13.89 kB / 0.8242 GB, free: 24.58 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.154e-05/0.7066, allocations: 0 / 0.8242 GB, free: 24.58 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.867e-05/0.7067, allocations: 10.09 kB / 0.8242 GB, free: 24.58 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.055e-05/0.7067, allocations: 16.55 kB / 0.8242 GB, free: 24.57 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.291e-05/0.7067, allocations: 13.66 kB / 0.8242 GB, free: 24.56 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0001434/0.7069, allocations: 176.3 kB / 0.8244 GB, free: 24.46 MB / 0.6387 GB Notification: Performance of sort global known variables: time 7e-08/0.7069, allocations: 0 / 0.8244 GB, free: 24.46 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002244/0.7071, allocations: 26.3 kB / 0.8244 GB, free: 24.45 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * 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.0002149/0.7073, allocations: 126 kB / 0.8245 GB, free: 24.34 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.000283/0.7076, allocations: 53.55 kB / 0.8246 GB, free: 24.34 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.7076, allocations: 1.281 kB / 0.8246 GB, free: 24.34 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001145/0.7077, allocations: 31.58 kB / 0.8246 GB, free: 24.33 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002965/0.708, allocations: 34.23 kB / 0.8247 GB, free: 24.32 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005249/0.7085, allocations: 292.5 kB / 0.8249 GB, free: 24.11 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.759e-05/0.7086, allocations: 108.3 kB / 0.825 GB, free: 24.03 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 7.391e-05/0.7087, allocations: 18.23 kB / 0.825 GB, free: 24.03 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.937e-05/0.7087, allocations: 19.78 kB / 0.8251 GB, free: 24.02 MB / 0.6387 GB Notification: Performance of SimCode: time 3.11e-07/0.7087, allocations: 0 / 0.8251 GB, free: 24.02 MB / 0.6387 GB Notification: Performance of Templates: time 0.005653/0.7144, allocations: 1.863 MB / 0.8269 GB, free: 23.77 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.JSONWriter.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.JSONWriter.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.JSONWriter.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.JSONWriter.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.JSONWriter.sim & ./IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.JSONWriter -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.JSONWriter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.891287392005324] Failed to read output from testmodel.py, exit status != 0: 0.7235784810036421 0.737728936 0.032429416 Calling exit ...