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.0009029/0.0009029, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 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.0009373/0.0009373, allocations: 173 kB / 23.36 MB, free: 1.133 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.9764/0.9764, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.01088/0.01088, allocations: 1.127 MB / 261.4 MB, free: 11.84 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.503e-06/1.503e-06, allocations: 3.938 kB / 277.9 MB, free: 11.29 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.42e-05/1.57e-05, allocations: 2.312 kB / 277.9 MB, free: 11.29 MB / 266.7 MB Notification: Performance of NFInst.instantiate(NeuralNetwork.Examples.HelloWorld): time 0.001676/0.001692, allocations: 1.56 MB / 279.5 MB, free: 9.719 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006735/0.002365, allocations: 0.5414 MB / 280 MB, free: 9.172 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.061e-05/0.002416, allocations: 0 / 280 MB, free: 9.172 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001178/0.002534, allocations: 23.84 kB / 280.1 MB, free: 9.148 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 5.946e-05/0.002593, allocations: 19.81 kB / 280.1 MB, free: 9.129 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001913/0.002784, allocations: 43.81 kB / 280.1 MB, free: 9.086 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.66e-05/0.002881, allocations: 79.77 kB / 280.2 MB, free: 9.008 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.416e-05/0.002975, allocations: 23.91 kB / 280.2 MB, free: 8.984 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001062/0.003081, allocations: 39.91 kB / 280.3 MB, free: 8.945 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.168e-05/0.003173, allocations: 51.86 kB / 280.3 MB, free: 8.895 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.514e-05/0.003188, allocations: 4 kB / 280.3 MB, free: 8.891 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.806e-05/0.003236, allocations: 19.94 kB / 280.3 MB, free: 8.871 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.693e-05/0.003283, allocations: 39.84 kB / 280.4 MB, free: 8.832 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.654e-05/0.00331, allocations: 23.92 kB / 280.4 MB, free: 8.809 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001118/0.003421, allocations: 91.59 kB / 280.5 MB, free: 8.719 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.092e-06/0.003422, allocations: 4 kB / 280.5 MB, free: 8.715 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.51e-07/0.003423, allocations: 4 kB / 280.5 MB, free: 8.711 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.545e-06/0.003425, allocations: 0 / 280.5 MB, free: 8.711 MB / 266.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.0003228/0.003748, allocations: 300.4 kB / 280.8 MB, free: 8.395 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.965e-05/0.003778, allocations: 12.03 kB / 280.8 MB, free: 8.383 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.862e-05/0.003857, allocations: 20.91 kB / 280.8 MB, free: 8.363 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001275/0.003984, allocations: 155.9 kB / 281 MB, free: 8.188 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.556e-06/0.003993, allocations: 4.375 kB / 281 MB, free: 8.184 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.135e-05/0.004004, allocations: 4.375 kB / 281 MB, free: 8.18 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001005/0.004104, allocations: 85.56 kB / 281.1 MB, free: 8.09 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.262e-06/0.004111, allocations: 192 / 281.1 MB, free: 8.09 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.297e-06/0.00412, allocations: 12.36 kB / 281.1 MB, free: 8.078 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.766e-05/0.004138, allocations: 7.938 kB / 281.1 MB, free: 8.07 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.551e-05/0.004173, allocations: 19.98 kB / 281.1 MB, free: 8.051 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002544/0.004428, allocations: 217.8 kB / 281.3 MB, free: 7.82 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.639e-05/0.004514, allocations: 96.05 kB / 281.4 MB, free: 7.715 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.035e-05/0.004534, allocations: 16.98 kB / 281.4 MB, free: 7.695 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.608e-05/0.00458, allocations: 7.984 kB / 281.4 MB, free: 7.688 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.086e-05/0.004601, allocations: 30.56 kB / 281.5 MB, free: 7.648 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 9.72e-07/0.004602, allocations: 4 kB / 281.5 MB, free: 7.645 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001261/0.004728, allocations: 57.62 kB / 281.5 MB, free: 7.582 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.136e-05/0.00476, allocations: 55.41 kB / 281.6 MB, free: 7.516 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.128e-05/0.004841, allocations: 147.4 kB / 281.7 MB, free: 7.359 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.149e-05/0.004852, allocations: 25.7 kB / 281.7 MB, free: 7.328 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.518e-05/0.004888, allocations: 104 kB / 281.8 MB, free: 7.223 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.06e-05/0.004908, allocations: 15.86 kB / 281.9 MB, free: 7.207 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.945e-05/0.004938, allocations: 29.69 kB / 281.9 MB, free: 7.172 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.738e-05/0.005015, allocations: 318.8 kB / 282.2 MB, free: 6.852 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.417e-05/0.005029, allocations: 6.828 kB / 282.2 MB, free: 6.844 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.42e-05/0.005043, allocations: 8 kB / 282.2 MB, free: 6.836 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.873e-05/0.005082, allocations: 30.5 kB / 282.2 MB, free: 6.801 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.005084, allocations: 0 / 282.2 MB, free: 6.801 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 5.765e-05/0.005142, allocations: 53.56 kB / 282.3 MB, free: 6.742 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.005153, allocations: 8 kB / 282.3 MB, free: 6.734 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.327e-06/0.005156, allocations: 0 / 282.3 MB, free: 6.734 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.016e-05/0.005166, allocations: 3.984 kB / 282.3 MB, free: 6.73 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.606e-05/0.005222, allocations: 8 kB / 282.3 MB, free: 6.723 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.465e-06/0.005225, allocations: 0 / 282.3 MB, free: 6.723 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.033e-05/0.005245, allocations: 8 kB / 282.3 MB, free: 6.715 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.119e-06/0.00525, allocations: 448 / 282.3 MB, free: 6.715 MB / 266.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 5.181e-05/0.005302, allocations: 116.7 kB / 282.4 MB, free: 6.59 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.724e-05/0.005319, allocations: 11.94 kB / 282.5 MB, free: 6.578 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.569e-05/0.005415, allocations: 90.2 kB / 282.5 MB, free: 6.48 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.005417, allocations: 0 / 282.5 MB, free: 6.48 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-06/0.005419, allocations: 0 / 282.5 MB, free: 6.48 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.00542, allocations: 0 / 282.5 MB, free: 6.48 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.798e-05/0.005508, allocations: 85.86 kB / 282.6 MB, free: 6.379 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.00551, allocations: 4 kB / 282.6 MB, free: 6.375 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.366e-05/0.005544, allocations: 11.98 kB / 282.6 MB, free: 6.363 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.005547, allocations: 3.938 kB / 282.6 MB, free: 6.359 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.45e-06/0.005553, allocations: 0 / 282.6 MB, free: 6.359 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.32e-07/0.005554, allocations: 4 kB / 282.6 MB, free: 6.355 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.6e-07/0.005554, allocations: 0 / 282.6 MB, free: 6.355 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.678e-05/0.005641, allocations: 198.2 kB / 282.8 MB, free: 6.145 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.032e-05/0.005651, allocations: 7.953 kB / 282.8 MB, free: 6.137 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.019e-05/0.005661, allocations: 3.938 kB / 282.9 MB, free: 6.133 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.304e-05/0.005694, allocations: 8 kB / 282.9 MB, free: 6.125 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.865e-05/0.005713, allocations: 3.984 kB / 282.9 MB, free: 6.121 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.005716, allocations: 0 / 282.9 MB, free: 6.121 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.638e-05/0.005742, allocations: 35.88 kB / 282.9 MB, free: 6.086 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005742, allocations: 0 / 282.9 MB, free: 6.086 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001233/0.005865, allocations: 19.98 kB / 282.9 MB, free: 6.066 MB / 266.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 7.39e-05/0.005939, allocations: 88.34 kB / 283 MB, free: 5.973 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.865e-05/0.005998, allocations: 28.78 kB / 283 MB, free: 5.941 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.006, allocations: 0 / 283 MB, free: 5.941 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.115e-05/0.006021, allocations: 20.86 kB / 283.1 MB, free: 5.918 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.48e-05/0.006116, allocations: 4 kB / 283.1 MB, free: 5.914 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003619/0.006477, allocations: 238.4 kB / 283.3 MB, free: 5.652 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.209e-05/0.00652, allocations: 79.33 kB / 283.4 MB, free: 5.555 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.68e-05/0.006546, allocations: 7.984 kB / 283.4 MB, free: 5.547 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.047e-05/0.006587, allocations: 55.38 kB / 283.4 MB, free: 5.492 MB / 266.7 MB Notification: Performance of SimCode: time 2.81e-07/0.006587, allocations: 0 / 283.4 MB, free: 5.492 MB / 266.7 MB Notification: Performance of Templates: time 0.00213/0.008717, allocations: 0.8564 MB / 284.3 MB, free: 4.641 MB / 266.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.6252826512791216]