Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternData_ExternData.Examples.INITest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/package.mo", uses=false) Using package ExternData with version 3.0.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/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: translateModel(ExternData.Examples.INITest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.INITest") translateModel(ExternData.Examples.INITest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.INITest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001243/0.001243, allocations: 108.7 kB / 16.41 MB, free: 6.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 185.7 kB / 17.34 MB, free: 5.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.247/1.247, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/package.mo): time 0.01287/0.01287, allocations: 2.968 MB / 294.2 MB, free: 11.78 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001118/0.001118, allocations: 60.14 kB / 406.9 MB, free: 28.78 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07354/0.07467, allocations: 50.33 MB / 457.3 MB, free: 10.39 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.INITest): time 0.002557/0.07726, allocations: 1.551 MB / 458.8 MB, free: 8.836 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001232/0.07851, allocations: 1.016 MB / 459.8 MB, free: 7.812 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.064e-05/0.07857, allocations: 4 kB / 459.8 MB, free: 7.809 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/package.mo:79:3-102:14:writable] Warning: Pure function 'ExternData.INIFile' contains a call to impure function 'ExternData.Types.ExternINIFile.constructor'. Notification: Performance of NFTyping.typeComponents: time 0.0002072/0.07878, allocations: 23.86 kB / 459.9 MB, free: 7.785 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002952/0.07909, allocations: 103.5 kB / 460 MB, free: 7.684 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.725e-05/0.07912, allocations: 11.98 kB / 460 MB, free: 7.672 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 6.485e-05/0.07919, allocations: 35.86 kB / 460 MB, free: 7.637 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.926e-05/0.07928, allocations: 19.91 kB / 460 MB, free: 7.617 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.171e-05/0.07933, allocations: 11.94 kB / 460 MB, free: 7.605 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001217/0.07945, allocations: 15.92 kB / 460.1 MB, free: 7.59 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.057e-05/0.07948, allocations: 4 kB / 460.1 MB, free: 7.586 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001792/0.07966, allocations: 115.8 kB / 460.2 MB, free: 7.473 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.116e-05/0.07968, allocations: 4 kB / 460.2 MB, free: 7.469 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.859e-05/0.07971, allocations: 27.84 kB / 460.2 MB, free: 7.441 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001999/0.07992, allocations: 115.8 kB / 460.3 MB, free: 7.328 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.07993, allocations: 4 kB / 460.3 MB, free: 7.324 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.07994, allocations: 0 / 460.3 MB, free: 7.324 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.07995, allocations: 4 kB / 460.3 MB, free: 7.32 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004292/0.08038, allocations: 371.5 kB / 460.7 MB, free: 6.91 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.139e-05/0.08042, allocations: 11.89 kB / 460.7 MB, free: 6.898 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.258e-05/0.08046, allocations: 8.844 kB / 460.7 MB, free: 6.891 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001812/0.08064, allocations: 180.2 kB / 460.9 MB, free: 6.676 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.813e-06/0.08066, allocations: 4.312 kB / 460.9 MB, free: 6.672 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.067e-05/0.08068, allocations: 8.375 kB / 460.9 MB, free: 6.664 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001101/0.08079, allocations: 53.8 kB / 461 MB, free: 6.605 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.08081, allocations: 0 / 461 MB, free: 6.605 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.434e-06/0.08082, allocations: 3.938 kB / 461 MB, free: 6.602 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.08083, allocations: 4 kB / 461 MB, free: 6.598 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.753e-05/0.08091, allocations: 19.98 kB / 461 MB, free: 6.578 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003156/0.08123, allocations: 260.9 kB / 461.2 MB, free: 6.273 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001564/0.0814, allocations: 54.56 kB / 461.3 MB, free: 6.211 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.815e-05/0.08146, allocations: 16.94 kB / 461.3 MB, free: 6.191 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.095e-05/0.08148, allocations: 4 kB / 461.3 MB, free: 6.188 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.873e-05/0.0815, allocations: 34.56 kB / 461.3 MB, free: 6.145 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/0.08151, allocations: 0 / 461.3 MB, free: 6.145 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002142/0.08173, allocations: 69.52 kB / 461.4 MB, free: 6.07 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.034e-05/0.08177, allocations: 55.41 kB / 461.5 MB, free: 6.004 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.895e-05/0.08186, allocations: 117.8 kB / 461.6 MB, free: 5.879 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.19e-05/0.08188, allocations: 25.7 kB / 461.6 MB, free: 5.848 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.574e-05/0.08193, allocations: 92.12 kB / 461.7 MB, free: 5.754 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.519e-05/0.08195, allocations: 7.844 kB / 461.7 MB, free: 5.746 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.947e-05/0.08198, allocations: 17.72 kB / 461.7 MB, free: 5.723 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.364e-05/0.08208, allocations: 314.8 kB / 462 MB, free: 5.406 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.083e-05/0.08213, allocations: 15.98 kB / 462 MB, free: 5.391 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.009e-05/0.08216, allocations: 8 kB / 462 MB, free: 5.383 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.763e-05/0.08225, allocations: 28.84 kB / 462.1 MB, free: 5.352 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.08226, allocations: 0 / 462.1 MB, free: 5.352 MB / 334.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001151/0.08237, allocations: 65.52 kB / 462.1 MB, free: 5.281 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.08239, allocations: 4 kB / 462.1 MB, free: 5.277 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.0824, allocations: 0 / 462.1 MB, free: 5.277 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.08242, allocations: 0 / 462.1 MB, free: 5.277 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.144e-05/0.08246, allocations: 8.328 kB / 462.2 MB, free: 5.27 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.08248, allocations: 4 kB / 462.2 MB, free: 5.266 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.969e-05/0.08251, allocations: 3.984 kB / 462.2 MB, free: 5.262 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.456e-06/0.08252, allocations: 0 / 462.2 MB, free: 5.262 MB / 334.1 MB 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 (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 6.245e-05/0.08259, allocations: 118.4 kB / 462.3 MB, free: 5.137 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.643e-05/0.08262, allocations: 0 / 462.3 MB, free: 5.137 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.018e-05/0.08265, allocations: 11.89 kB / 462.3 MB, free: 5.117 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-06/0.08266, allocations: 0 / 462.3 MB, free: 5.117 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.08267, allocations: 4 kB / 462.3 MB, free: 5.113 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.08268, allocations: 4 kB / 462.3 MB, free: 5.109 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001581/0.08284, allocations: 181.4 kB / 462.5 MB, free: 4.883 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.08285, allocations: 0 / 462.5 MB, free: 4.883 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.83e-05/0.08289, allocations: 7.984 kB / 462.5 MB, free: 4.875 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.0829, allocations: 4 kB / 462.5 MB, free: 4.871 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.28e-06/0.08291, allocations: 0 / 462.5 MB, free: 4.871 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.08292, allocations: 0 / 462.5 MB, free: 4.871 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.08292, allocations: 7.922 kB / 462.5 MB, free: 4.863 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001496/0.08308, allocations: 159.5 kB / 462.6 MB, free: 4.691 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.002e-05/0.08312, allocations: 77.11 kB / 462.7 MB, free: 4.598 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.327e-05/0.08314, allocations: 384 / 462.7 MB, free: 4.598 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.679e-05/0.0832, allocations: 4 kB / 462.7 MB, free: 4.594 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.908e-05/0.08324, allocations: 7.984 kB / 462.7 MB, free: 4.586 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-06/0.08325, allocations: 0 / 462.7 MB, free: 4.586 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.079e-05/0.0833, allocations: 95.22 kB / 462.8 MB, free: 4.492 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.08331, allocations: 0 / 462.8 MB, free: 4.492 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002728/0.08358, allocations: 39.89 kB / 462.9 MB, free: 4.453 MB / 334.1 MB 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 (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.0005952/0.08419, allocations: 316 kB / 463.2 MB, free: 4.223 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001388/0.08434, allocations: 35.84 kB / 463.2 MB, free: 4.188 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.08435, allocations: 0 / 463.2 MB, free: 4.188 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.984e-05/0.08439, allocations: 12 kB / 463.2 MB, free: 4.176 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002419/0.08464, allocations: 11.98 kB / 463.2 MB, free: 4.164 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002827/0.08493, allocations: 155.8 kB / 463.4 MB, free: 3.977 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002353/0.08518, allocations: 0.6883 MB / 464.1 MB, free: 3.262 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.835e-05/0.08521, allocations: 15.42 kB / 464.1 MB, free: 3.246 MB / 334.1 MB Notification: Performance of SimCode: time 2.31e-07/0.08522, allocations: 0 / 464.1 MB, free: 3.246 MB / 334.1 MB Notification: Performance of Templates: time 0.003203/0.08843, allocations: 1.618 MB / 465.7 MB, free: 1.633 MB / 334.1 MB make -j1 -f ExternData_ExternData.Examples.INITest.makefile (rm -f ExternData_ExternData.Examples.INITest.pipe ; mkfifo ExternData_ExternData.Examples.INITest.pipe ; head -c 1048576 < ExternData_ExternData.Examples.INITest.pipe >> ../files/ExternData_ExternData.Examples.INITest.sim & ./ExternData_ExternData.Examples.INITest -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternData_ExternData.Examples.INITest.pipe 2>&1)