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.001307/0.001307, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001451/0.001451, allocations: 221.7 kB / 22.25 MB, free: 5.254 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.515/1.515, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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.01445/0.01445, allocations: 1.233 MB / 313.7 MB, free: 1.699 MB / 238.1 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: NeuralNetwork 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.003018/0.003018, allocations: 67.91 kB / 436.1 MB, free: 15.82 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.1535, allocations: 53.48 MB / 489.6 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFInst.instantiate(NeuralNetwork.Examples.HelloWorld): time 0.003381/0.1569, allocations: 1.51 MB / 491.1 MB, free: 8.719 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001037/0.1579, allocations: 0.5065 MB / 491.6 MB, free: 8.207 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.418e-05/0.158, allocations: 7.938 kB / 491.7 MB, free: 8.199 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001268/0.1581, allocations: 11.86 kB / 491.7 MB, free: 8.188 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.583e-05/0.1582, allocations: 27.84 kB / 491.7 MB, free: 8.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002344/0.1584, allocations: 39.91 kB / 491.7 MB, free: 8.121 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001379/0.1586, allocations: 75.75 kB / 491.8 MB, free: 8.047 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001454/0.1587, allocations: 19.98 kB / 491.8 MB, free: 8.027 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001435/0.1589, allocations: 43.78 kB / 491.9 MB, free: 7.984 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001352/0.159, allocations: 51.75 kB / 491.9 MB, free: 7.934 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.838e-05/0.159, allocations: 8 kB / 491.9 MB, free: 7.926 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.943e-05/0.1591, allocations: 16 kB / 491.9 MB, free: 7.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.829e-05/0.1592, allocations: 47.83 kB / 492 MB, free: 7.863 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.417e-05/0.1593, allocations: 39.73 kB / 492 MB, free: 7.824 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001963/0.1595, allocations: 107.6 kB / 492.1 MB, free: 7.719 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1595, allocations: 0 / 492.1 MB, free: 7.719 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1595, allocations: 0 / 492.1 MB, free: 7.719 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.145e-05/0.1595, allocations: 0 / 492.1 MB, free: 7.719 MB / 350.1 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.0006497/0.1601, allocations: 345.7 kB / 492.5 MB, free: 7.352 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.1602, allocations: 8.031 kB / 492.5 MB, free: 7.344 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001487/0.1603, allocations: 24.88 kB / 492.5 MB, free: 7.32 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002673/0.1606, allocations: 168.5 kB / 492.7 MB, free: 7.133 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.335e-06/0.1606, allocations: 8.359 kB / 492.7 MB, free: 7.125 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.219e-05/0.1606, allocations: 8.375 kB / 492.7 MB, free: 7.117 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002161/0.1608, allocations: 93.95 kB / 492.8 MB, free: 7.02 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.1608, allocations: 4 kB / 492.8 MB, free: 7.016 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.726e-05/0.1608, allocations: 4 kB / 492.8 MB, free: 7.012 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.068e-05/0.1609, allocations: 4 kB / 492.8 MB, free: 7.008 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001827/0.1611, allocations: 75.94 kB / 492.9 MB, free: 6.934 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005893/0.1616, allocations: 328.2 kB / 493.2 MB, free: 6.582 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001989/0.1618, allocations: 82.55 kB / 493.3 MB, free: 6.492 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001045/0.1619, allocations: 48.89 kB / 493.3 MB, free: 6.441 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.652e-05/0.162, allocations: 4 kB / 493.3 MB, free: 6.438 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.553e-05/0.1621, allocations: 38.55 kB / 493.4 MB, free: 6.391 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.1621, allocations: 0 / 493.4 MB, free: 6.391 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004285/0.1625, allocations: 137.6 kB / 493.5 MB, free: 6.25 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.954e-05/0.1625, allocations: 55.41 kB / 493.5 MB, free: 6.184 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001807/0.1627, allocations: 173.7 kB / 493.7 MB, free: 6.008 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.377e-05/0.1627, allocations: 25.7 kB / 493.7 MB, free: 5.977 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.856e-05/0.1628, allocations: 112.1 kB / 493.8 MB, free: 5.863 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.359e-05/0.1629, allocations: 19.8 kB / 493.9 MB, free: 5.844 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.785e-05/0.163, allocations: 21.72 kB / 493.9 MB, free: 5.816 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.1631, allocations: 334.6 kB / 494.2 MB, free: 5.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.96e-05/0.1632, allocations: 35.91 kB / 494.2 MB, free: 5.445 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.621e-05/0.1633, allocations: 27.98 kB / 494.3 MB, free: 5.418 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001526/0.1634, allocations: 76.83 kB / 494.3 MB, free: 5.34 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1634, allocations: 0 / 494.3 MB, free: 5.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000202/0.1636, allocations: 105.6 kB / 494.5 MB, free: 5.23 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.1636, allocations: 11.98 kB / 494.5 MB, free: 5.219 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.1636, allocations: 0 / 494.5 MB, free: 5.219 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.1637, allocations: 0 / 494.5 MB, free: 5.219 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.1638, allocations: 12.44 kB / 494.5 MB, free: 5.207 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.1638, allocations: 7.922 kB / 494.5 MB, free: 5.199 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.586e-05/0.1638, allocations: 8 kB / 494.5 MB, free: 5.191 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.255e-05/0.1638, allocations: 7.938 kB / 494.5 MB, free: 5.184 MB / 350.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 (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.0001242/0.164, allocations: 129.8 kB / 494.6 MB, free: 5.047 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.468e-05/0.164, allocations: 11.91 kB / 494.6 MB, free: 5.035 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002932/0.1643, allocations: 134.3 kB / 494.8 MB, free: 4.895 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.1643, allocations: 4 kB / 494.8 MB, free: 4.891 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.1643, allocations: 0 / 494.8 MB, free: 4.891 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.1643, allocations: 0 / 494.8 MB, free: 4.891 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001923/0.1645, allocations: 149.2 kB / 494.9 MB, free: 4.715 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1645, allocations: 0 / 494.9 MB, free: 4.715 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.224e-05/0.1646, allocations: 15.94 kB / 494.9 MB, free: 4.699 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.1646, allocations: 3.984 kB / 494.9 MB, free: 4.695 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.696e-06/0.1646, allocations: 0 / 494.9 MB, free: 4.695 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1646, allocations: 0 / 494.9 MB, free: 4.695 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.1646, allocations: 0 / 494.9 MB, free: 4.695 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002737/0.1649, allocations: 211.4 kB / 495.1 MB, free: 4.473 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.894e-05/0.1649, allocations: 19.84 kB / 495.2 MB, free: 4.453 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.111e-05/0.1649, allocations: 4 kB / 495.2 MB, free: 4.449 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.349e-05/0.165, allocations: 3.984 kB / 495.2 MB, free: 4.445 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.162e-05/0.165, allocations: 4 kB / 495.2 MB, free: 4.441 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/0.1651, allocations: 7.969 kB / 495.2 MB, free: 4.434 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001139/0.1652, allocations: 131.2 kB / 495.3 MB, free: 4.305 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1652, allocations: 0 / 495.3 MB, free: 4.305 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002384/0.1654, allocations: 12 kB / 495.3 MB, free: 4.293 MB / 350.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 (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.0001349/0.1655, allocations: 119 kB / 495.4 MB, free: 4.168 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002198/0.1658, allocations: 63.97 kB / 495.5 MB, free: 4.105 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.1658, allocations: 0 / 495.5 MB, free: 4.105 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.999e-05/0.1659, allocations: 47.91 kB / 495.5 MB, free: 4.059 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002248/0.1661, allocations: 4 kB / 495.6 MB, free: 4.055 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004817/0.1666, allocations: 247.8 kB / 495.8 MB, free: 3.789 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001362/0.1667, allocations: 112.1 kB / 495.9 MB, free: 3.656 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.584e-05/0.1668, allocations: 11.98 kB / 495.9 MB, free: 3.645 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.356e-05/0.1668, allocations: 11.44 kB / 495.9 MB, free: 3.633 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1668, allocations: 0 / 495.9 MB, free: 3.633 MB / 350.1 MB Notification: Performance of Templates: time 0.003816/0.1706, allocations: 0.8918 MB / 496.8 MB, free: 2.746 MB / 350.1 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=480 -lv LOG_STATS > NeuralNetwork_main_NeuralNetwork.Examples.HelloWorld.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.724672954995185] Failed to read output from testmodel.py, exit status != 0: 0.17984634824097157 0.19607568800000003 0.033372535 Calling exit ...