Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001455/0.001455, allocations: 114.3 kB / 17.08 MB, free: 5.789 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.28/1.28, allocations: 222.9 MB / 242.7 MB, free: 15.21 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001393/0.001393, allocations: 193.7 kB / 295.1 MB, free: 12.65 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03935/0.03935, allocations: 8.795 MB / 356 MB, free: 15.89 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/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 Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(HanserModelica.VariablesTypes.ComplexCalculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation") translateModel(HanserModelica.VariablesTypes.ComplexCalculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002223/0.002223, allocations: 83.86 kB / 473.3 MB, free: 5.477 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2199/0.2221, allocations: 51.55 MB / 0.5125 GB, free: 12.43 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.ComplexCalculation): time 0.002163/0.2243, allocations: 1.38 MB / 0.5139 GB, free: 11.33 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001188/0.2255, allocations: 0.8717 MB / 0.5147 GB, free: 10.64 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.227e-05/0.2255, allocations: 1.094 kB / 0.5147 GB, free: 10.64 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002588/0.2258, allocations: 92.86 kB / 0.5148 GB, free: 10.59 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.478e-05/0.2259, allocations: 10.3 kB / 0.5148 GB, free: 10.58 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008045/0.2267, allocations: 450.8 kB / 0.5153 GB, free: 10.25 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001276/0.2268, allocations: 33.48 kB / 0.5153 GB, free: 10.23 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.646e-05/0.2269, allocations: 7.234 kB / 0.5153 GB, free: 10.23 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.391e-05/0.227, allocations: 16.22 kB / 0.5153 GB, free: 10.22 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.103e-05/0.227, allocations: 11.92 kB / 0.5153 GB, free: 10.21 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.618e-06/0.227, allocations: 4 kB / 0.5153 GB, free: 10.2 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002332/0.2273, allocations: 127.8 kB / 0.5155 GB, free: 10.08 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.071e-05/0.2273, allocations: 3.938 kB / 0.5155 GB, free: 10.07 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.44e-05/0.2273, allocations: 11.94 kB / 0.5155 GB, free: 10.06 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002281/0.2275, allocations: 130 kB / 0.5156 GB, free: 9.941 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/0.2275, allocations: 0 / 0.5156 GB, free: 9.941 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2276, allocations: 0 / 0.5156 GB, free: 9.941 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.522e-06/0.2276, allocations: 0 / 0.5156 GB, free: 9.941 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0008506/0.2284, allocations: 438.9 kB / 0.516 GB, free: 9.465 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.946e-05/0.2285, allocations: 11.97 kB / 0.516 GB, free: 9.453 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.156e-05/0.2285, allocations: 8.938 kB / 0.516 GB, free: 9.445 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001267/0.2286, allocations: 168.3 kB / 0.5162 GB, free: 9.242 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.2286, allocations: 4.375 kB / 0.5162 GB, free: 9.238 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.1e-05/0.2287, allocations: 4.375 kB / 0.5162 GB, free: 9.234 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001209/0.2288, allocations: 54 kB / 0.5163 GB, free: 9.176 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.914e-06/0.2288, allocations: 0 / 0.5163 GB, free: 9.176 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.2288, allocations: 0 / 0.5163 GB, free: 9.176 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.768e-06/0.2288, allocations: 4 kB / 0.5163 GB, free: 9.172 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.303e-05/0.2289, allocations: 35.98 kB / 0.5163 GB, free: 9.137 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001987/0.2291, allocations: 189.6 kB / 0.5165 GB, free: 8.902 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001605/0.2293, allocations: 66.56 kB / 0.5165 GB, free: 8.828 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.439e-05/0.2294, allocations: 28.97 kB / 0.5166 GB, free: 8.797 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.78e-05/0.2294, allocations: 0 / 0.5166 GB, free: 8.797 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/0.2294, allocations: 38.5 kB / 0.5166 GB, free: 8.75 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 8.42e-07/0.2294, allocations: 4 kB / 0.5166 GB, free: 8.746 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002193/0.2297, allocations: 93.62 kB / 0.5167 GB, free: 8.648 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.734e-05/0.2297, allocations: 55.41 kB / 0.5168 GB, free: 8.582 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.859e-05/0.2298, allocations: 105.8 kB / 0.5169 GB, free: 8.469 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/0.2298, allocations: 25.7 kB / 0.5169 GB, free: 8.438 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.998e-05/0.2299, allocations: 84.14 kB / 0.517 GB, free: 8.352 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.305e-05/0.2299, allocations: 23.8 kB / 0.517 GB, free: 8.328 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.396e-05/0.2299, allocations: 17.7 kB / 0.517 GB, free: 8.305 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.2301, allocations: 318.8 kB / 0.5173 GB, free: 7.984 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.286e-05/0.2301, allocations: 19.98 kB / 0.5173 GB, free: 7.965 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.608e-05/0.2302, allocations: 20 kB / 0.5173 GB, free: 7.945 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.909e-05/0.2302, allocations: 45.48 kB / 0.5174 GB, free: 7.898 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.2303, allocations: 0 / 0.5174 GB, free: 7.898 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001391/0.2304, allocations: 85.58 kB / 0.5175 GB, free: 7.809 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.2304, allocations: 18.06 kB / 0.5175 GB, free: 7.793 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.2304, allocations: 0 / 0.5175 GB, free: 7.793 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.247e-06/0.2304, allocations: 0 / 0.5175 GB, free: 7.793 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.365e-05/0.2305, allocations: 11.98 kB / 0.5175 GB, free: 7.781 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.177e-06/0.2306, allocations: 4 kB / 0.5175 GB, free: 7.777 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.336e-05/0.2306, allocations: 4 kB / 0.5175 GB, free: 7.773 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.236e-06/0.2306, allocations: 4 kB / 0.5175 GB, free: 7.77 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 (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 7.192e-05/0.2307, allocations: 105.8 kB / 0.5176 GB, free: 7.656 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.852e-05/0.2307, allocations: 15.88 kB / 0.5176 GB, free: 7.641 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001975/0.2309, allocations: 106 kB / 0.5177 GB, free: 7.527 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.2309, allocations: 0 / 0.5177 GB, free: 7.527 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.2309, allocations: 0 / 0.5177 GB, free: 7.527 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.2309, allocations: 4 kB / 0.5177 GB, free: 7.523 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001553/0.2311, allocations: 197.5 kB / 0.5179 GB, free: 7.281 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.2311, allocations: 0 / 0.5179 GB, free: 7.281 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.743e-05/0.2312, allocations: 12 kB / 0.5179 GB, free: 7.27 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5e-06/0.2312, allocations: 7.922 kB / 0.5179 GB, free: 7.262 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.2312, allocations: 0 / 0.5179 GB, free: 7.262 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.2312, allocations: 0 / 0.5179 GB, free: 7.262 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.2312, allocations: 0 / 0.5179 GB, free: 7.262 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001637/0.2314, allocations: 121.1 kB / 0.5181 GB, free: 7.125 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.206e-05/0.2314, allocations: 85.05 kB / 0.5181 GB, free: 7.023 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.565e-05/0.2315, allocations: 4 kB / 0.5181 GB, free: 7.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.226e-05/0.2315, allocations: 0 / 0.5181 GB, free: 7.02 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.099e-05/0.2315, allocations: 11.98 kB / 0.5181 GB, free: 7.008 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-06/0.2315, allocations: 0 / 0.5181 GB, free: 7.008 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.222e-05/0.2316, allocations: 83.34 kB / 0.5182 GB, free: 6.926 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2316, allocations: 0 / 0.5182 GB, free: 6.926 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001853/0.2318, allocations: 16 kB / 0.5182 GB, free: 6.91 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 (8): * Single equations (assignments): 8 * 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.0001161/0.2319, allocations: 111.2 kB / 0.5183 GB, free: 6.793 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001388/0.2321, allocations: 59.92 kB / 0.5184 GB, free: 6.734 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.2321, allocations: 0 / 0.5184 GB, free: 6.734 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.164e-05/0.2321, allocations: 31.98 kB / 0.5184 GB, free: 6.703 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001293/0.2323, allocations: 8 kB / 0.5184 GB, free: 6.695 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003118/0.2326, allocations: 201.1 kB / 0.5186 GB, free: 6.469 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002879/0.2329, allocations: 0.6844 MB / 0.5193 GB, free: 5.758 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.063e-05/0.2329, allocations: 11.44 kB / 0.5193 GB, free: 5.746 MB / 334.1 MB Notification: Performance of SimCode: time 1.9e-07/0.2329, allocations: 0 / 0.5193 GB, free: 5.746 MB / 334.1 MB Notification: Performance of Templates: time 0.002263/0.2352, allocations: 0.9255 MB / 0.5202 GB, free: 4.816 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.pipe ; mkfifo HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.pipe ; head -c 1048576 < HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.pipe >> ../files/HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.sim & ./HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.266545665916055] Failed to read output from testmodel.py, exit status != 0: 0.24092444917187095 0.253655132 0.023728442000000002 Calling exit ...