Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr NeuralNetwork_main_NeuralNetwork.Examples.HelloWorld.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.001007/0.001007, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 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.001711/0.001711, allocations: 173 kB / 23.02 MB, free: 1.547 MB / 18.57 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.9668/0.9668, allocations: 177.1 MB / 203.4 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NeuralNetwork main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NeuralNetwork main/package.mo): time 0.008483/0.008483, allocations: 1.127 MB / 261.1 MB, free: 11.95 MB / 250.7 MB " [Timeout remaining time 180] Using package NeuralNetwork with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NeuralNetwork main/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(NeuralNetwork.Examples.HelloWorld,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="NeuralNetwork_main_NeuralNetwork.Examples.HelloWorld") translateModel(NeuralNetwork.Examples.HelloWorld,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="NeuralNetwork_main_NeuralNetwork.Examples.HelloWorld") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 330.7 MB, free: 3.883 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.761e-05/2.896e-05, allocations: 4.703 kB / 330.7 MB, free: 3.879 MB / 298.7 MB Notification: Performance of NFInst.instantiate(NeuralNetwork.Examples.HelloWorld): time 0.002053/0.002082, allocations: 1.564 MB / 332.3 MB, free: 2.301 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009055/0.002987, allocations: 0.5414 MB / 332.8 MB, free: 1.754 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.483e-05/0.003052, allocations: 0 / 332.8 MB, free: 1.754 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001329/0.003185, allocations: 19.8 kB / 332.9 MB, free: 1.734 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.645e-05/0.003252, allocations: 15.92 kB / 332.9 MB, free: 1.719 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002442/0.003496, allocations: 43.77 kB / 332.9 MB, free: 1.676 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001095/0.003605, allocations: 75.77 kB / 333 MB, free: 1.602 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.003722, allocations: 15.97 kB / 333 MB, free: 1.586 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001585/0.003881, allocations: 59.77 kB / 333.1 MB, free: 1.527 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001197/0.004, allocations: 51.88 kB / 333.1 MB, free: 1.477 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.084e-05/0.004021, allocations: 4 kB / 333.1 MB, free: 1.473 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.584e-05/0.004087, allocations: 19.92 kB / 333.1 MB, free: 1.453 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.591e-05/0.004143, allocations: 43.84 kB / 333.2 MB, free: 1.41 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.915e-05/0.004182, allocations: 23.92 kB / 333.2 MB, free: 1.387 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001618/0.004344, allocations: 79.78 kB / 333.3 MB, free: 1.309 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.375e-06/0.004346, allocations: 0 / 333.3 MB, free: 1.309 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.004347, allocations: 0 / 333.3 MB, free: 1.309 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.004352, allocations: 0 / 333.3 MB, free: 1.309 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.00057/0.004922, allocations: 444 kB / 333.7 MB, free: 0.8359 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.004961, allocations: 12.03 kB / 333.7 MB, free: 0.8242 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001381/0.005099, allocations: 24.88 kB / 333.8 MB, free: 0.8008 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001917/0.005291, allocations: 157.2 kB / 333.9 MB, free: 0.6211 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.005303, allocations: 8.375 kB / 333.9 MB, free: 0.6133 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.266e-05/0.005316, allocations: 8.375 kB / 333.9 MB, free: 0.6055 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001452/0.005461, allocations: 74.92 kB / 334 MB, free: 0.5234 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.005471, allocations: 192 / 334 MB, free: 0.5234 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.005481, allocations: 384 / 334 MB, free: 0.5234 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.872e-05/0.00551, allocations: 7.938 kB / 334 MB, free: 0.5156 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.89e-05/0.005569, allocations: 27.92 kB / 334 MB, free: 500 kB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000423/0.005992, allocations: 355.5 kB / 334.4 MB, free: 108 kB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001119/0.006104, allocations: 54.98 kB / 334.4 MB, free: 40 kB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.6e-05/0.00614, allocations: 19.81 kB / 334.5 MB, free: 16 kB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.769e-05/0.006218, allocations: 7.984 kB / 334.5 MB, free: 8 kB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.716e-05/0.006255, allocations: 41.39 kB / 334.5 MB, free: 15.96 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 1.793e-06/0.006257, allocations: 0 / 334.5 MB, free: 15.96 MB / 314.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001987/0.006455, allocations: 73.58 kB / 334.6 MB, free: 15.88 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.117e-05/0.006486, allocations: 55.34 kB / 334.6 MB, free: 15.81 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/0.006606, allocations: 216.8 kB / 334.8 MB, free: 15.59 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.123e-05/0.006617, allocations: 29.7 kB / 334.9 MB, free: 15.55 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.372e-05/0.006691, allocations: 162.8 kB / 335 MB, free: 15.39 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.888e-05/0.00672, allocations: 23.78 kB / 335.1 MB, free: 15.36 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.661e-05/0.006756, allocations: 27.38 kB / 335.1 MB, free: 15.33 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.006883, allocations: 0.5 MB / 335.6 MB, free: 14.82 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.886e-05/0.006912, allocations: 4 kB / 335.6 MB, free: 14.81 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.015e-05/0.006932, allocations: 11.98 kB / 335.6 MB, free: 14.8 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.516e-05/0.006987, allocations: 27.69 kB / 335.6 MB, free: 14.77 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.006989, allocations: 0 / 335.6 MB, free: 14.77 MB / 314.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 9.681e-05/0.007086, allocations: 65.64 kB / 335.7 MB, free: 14.7 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.007103, allocations: 15.94 kB / 335.7 MB, free: 14.68 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.007108, allocations: 0 / 335.7 MB, free: 14.68 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.007122, allocations: 0 / 335.7 MB, free: 14.68 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.861e-05/0.007221, allocations: 11.98 kB / 335.7 MB, free: 14.67 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.007226, allocations: 0 / 335.7 MB, free: 14.67 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.651e-05/0.007253, allocations: 8.422 kB / 335.7 MB, free: 14.66 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.00726, allocations: 4 kB / 335.7 MB, free: 14.66 MB / 314.7 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 (6): * Single equations (assignments): 6 * 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 0.0003752/0.007635, allocations: 160.5 kB / 335.9 MB, free: 14.49 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.238e-05/0.007658, allocations: 11.91 kB / 335.9 MB, free: 14.48 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001679/0.007825, allocations: 86.39 kB / 336 MB, free: 14.39 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.007829, allocations: 7.984 kB / 336 MB, free: 14.38 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.007832, allocations: 0 / 336 MB, free: 14.38 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.007835, allocations: 0 / 336 MB, free: 14.38 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001328/0.007968, allocations: 156.5 kB / 336.1 MB, free: 14.2 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.00797, allocations: 0 / 336.1 MB, free: 14.2 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.175e-05/0.008022, allocations: 15.98 kB / 336.2 MB, free: 14.18 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.008024, allocations: 0 / 336.2 MB, free: 14.18 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.767e-06/0.008033, allocations: 0 / 336.2 MB, free: 14.18 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/0.008035, allocations: 0 / 336.2 MB, free: 14.18 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.008036, allocations: 0 / 336.2 MB, free: 14.18 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001435/0.00818, allocations: 219.8 kB / 336.4 MB, free: 13.95 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.704e-05/0.008197, allocations: 19.89 kB / 336.4 MB, free: 13.93 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.615e-05/0.008213, allocations: 7.938 kB / 336.4 MB, free: 13.92 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.35e-05/0.008257, allocations: 7.938 kB / 336.4 MB, free: 13.91 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.493e-05/0.008292, allocations: 3.984 kB / 336.4 MB, free: 13.91 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.581e-06/0.008297, allocations: 4 kB / 336.4 MB, free: 13.9 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.885e-05/0.008366, allocations: 158 kB / 336.6 MB, free: 13.75 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008366, allocations: 0 / 336.6 MB, free: 13.75 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001616/0.008528, allocations: 12 kB / 336.6 MB, free: 13.74 MB / 314.7 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 (6): * Single equations (assignments): 6 * 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.0001318/0.008659, allocations: 103.2 kB / 336.7 MB, free: 13.62 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001112/0.008771, allocations: 31.67 kB / 336.7 MB, free: 13.59 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.008772, allocations: 4 kB / 336.7 MB, free: 13.59 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.889e-05/0.008801, allocations: 27.61 kB / 336.7 MB, free: 13.55 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001747/0.008976, allocations: 11.94 kB / 336.8 MB, free: 13.54 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005676/0.009543, allocations: 223.5 kB / 337 MB, free: 13.3 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.998e-05/0.009593, allocations: 75.33 kB / 337 MB, free: 13.2 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.608e-05/0.009639, allocations: 19.97 kB / 337.1 MB, free: 13.18 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.383e-05/0.009673, allocations: 12.5 kB / 337.1 MB, free: 13.17 MB / 314.7 MB Notification: Performance of SimCode: time 1.062e-06/0.009674, allocations: 0 / 337.1 MB, free: 13.17 MB / 314.7 MB Notification: Performance of Templates: time 0.003161/0.01283, allocations: 0.8483 MB / 337.9 MB, free: 12.33 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f NeuralNetwork_main_NeuralNetwork.Examples.HelloWorld.makefile [Timeout 660] (rm -f NeuralNetwork_main_NeuralNetwork.Examples.HelloWorld.pipe ; mkfifo NeuralNetwork_main_NeuralNetwork.Examples.HelloWorld.pipe ; head -c 1048576 < NeuralNetwork_main_NeuralNetwork.Examples.HelloWorld.pipe >> ../files/NeuralNetwork_main_NeuralNetwork.Examples.HelloWorld.sim & ./NeuralNetwork_main_NeuralNetwork.Examples.HelloWorld -abortSlowSimulation -alarm=240 -lv LOG_STATS > NeuralNetwork_main_NeuralNetwork.Examples.HelloWorld.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.7340672560967505]