Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Classes.MixedDeclaration.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.001671/0.001671, allocations: 103.5 kB / 16.4 MB, free: 6.504 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.479/1.479, allocations: 222.9 MB / 242.1 MB, free: 15.22 MB / 206.1 MB " [Timeout remaining time 178] 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.001485/0.001485, allocations: 198.8 kB / 294.4 MB, free: 12.66 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.04461/0.04461, allocations: 8.8 MB / 355.4 MB, free: 15.9 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: "" <> buildModelFMU(HanserModelica.Classes.MixedDeclaration,fileNamePrefix="HanserModelica_HanserModelica_Classes_MixedDeclaration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Classes.MixedDeclaration,fileNamePrefix="HanserModelica_HanserModelica_Classes_MixedDeclaration",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002343/0.002344, allocations: 83.86 kB / 472.1 MB, free: 6.008 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2558/0.2582, allocations: 51.56 MB / 0.5114 GB, free: 12.25 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Classes.MixedDeclaration): time 0.002396/0.2606, allocations: 1.261 MB / 0.5126 GB, free: 11.26 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 8.842e-05/0.2607, allocations: 7.984 kB / 0.5126 GB, free: 11.25 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.892e-05/0.2608, allocations: 1.156 kB / 0.5126 GB, free: 11.25 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.531e-05/0.2608, allocations: 3.938 kB / 0.5126 GB, free: 11.25 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.297e-05/0.2609, allocations: 5.375 kB / 0.5126 GB, free: 11.24 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.595e-05/0.2609, allocations: 0 / 0.5126 GB, free: 11.24 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 6.616e-05/0.261, allocations: 11.5 kB / 0.5127 GB, free: 11.23 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.394e-05/0.2611, allocations: 6.25 kB / 0.5127 GB, free: 11.23 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.125e-05/0.2611, allocations: 1.156 kB / 0.5127 GB, free: 11.23 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.605e-05/0.2612, allocations: 14.25 kB / 0.5127 GB, free: 11.22 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.25e-05/0.2612, allocations: 0 / 0.5127 GB, free: 11.22 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.971e-06/0.2612, allocations: 1.188 kB / 0.5127 GB, free: 11.22 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.426e-05/0.2612, allocations: 0 / 0.5127 GB, free: 11.22 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.737e-05/0.2613, allocations: 5.156 kB / 0.5127 GB, free: 11.21 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 6.558e-05/0.2613, allocations: 9.328 kB / 0.5127 GB, free: 11.21 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.2613, allocations: 4 kB / 0.5127 GB, free: 11.21 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.2613, allocations: 0 / 0.5127 GB, free: 11.21 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.2613, allocations: 0 / 0.5127 GB, free: 11.21 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000409/0.2618, allocations: 320.9 kB / 0.513 GB, free: 10.85 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.2618, allocations: 10.41 kB / 0.513 GB, free: 10.85 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.601e-05/0.2619, allocations: 34.75 kB / 0.513 GB, free: 10.8 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.898e-05/0.2619, allocations: 2.062 kB / 0.513 GB, free: 10.8 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001644/0.262, allocations: 169.5 kB / 0.5132 GB, free: 10.6 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.2621, allocations: 1.5 kB / 0.5132 GB, free: 10.6 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.628e-06/0.2621, allocations: 5.5 kB / 0.5132 GB, free: 10.6 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.85e-05/0.2622, allocations: 43.45 kB / 0.5133 GB, free: 10.55 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.2622, allocations: 7.875 kB / 0.5133 GB, free: 10.54 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.052e-06/0.2622, allocations: 0 / 0.5133 GB, free: 10.54 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.2622, allocations: 1.062 kB / 0.5133 GB, free: 10.54 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.602e-05/0.2622, allocations: 2.156 kB / 0.5133 GB, free: 10.54 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003706/0.2626, allocations: 481.7 kB / 0.5137 GB, free: 10.02 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.81e-05/0.2627, allocations: 174.1 kB / 0.5139 GB, free: 9.84 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.329e-05/0.2628, allocations: 80.14 kB / 0.514 GB, free: 9.758 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.45e-05/0.2628, allocations: 76.38 kB / 0.514 GB, free: 9.684 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.199e-05/0.2629, allocations: 110.7 kB / 0.5141 GB, free: 9.566 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.2629, allocations: 0 / 0.5141 GB, free: 9.566 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 7.959e-05/0.2629, allocations: 30.86 kB / 0.5142 GB, free: 9.531 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.605e-05/0.263, allocations: 127.7 kB / 0.5143 GB, free: 9.395 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001229/0.2631, allocations: 104.8 kB / 0.5144 GB, free: 9.289 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.2632, allocations: 25.7 kB / 0.5144 GB, free: 9.258 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.93e-05/0.2632, allocations: 93.12 kB / 0.5145 GB, free: 9.164 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.404e-06/0.2632, allocations: 5.312 kB / 0.5145 GB, free: 9.16 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.981e-05/0.2633, allocations: 19.75 kB / 0.5145 GB, free: 9.137 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.2634, allocations: 312 kB / 0.5148 GB, free: 8.824 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.179e-05/0.2635, allocations: 1.031 kB / 0.5148 GB, free: 8.824 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.421e-05/0.2635, allocations: 19.86 kB / 0.5149 GB, free: 8.801 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.291e-05/0.2635, allocations: 22.53 kB / 0.5149 GB, free: 8.777 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2635, allocations: 4.062 kB / 0.5149 GB, free: 8.773 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.838e-05/0.2636, allocations: 37.7 kB / 0.5149 GB, free: 8.738 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.2636, allocations: 6.062 kB / 0.5149 GB, free: 8.738 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.2637, allocations: 3.984 kB / 0.5149 GB, free: 8.734 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.2637, allocations: 1.25 kB / 0.5149 GB, free: 8.734 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.052e-05/0.2637, allocations: 10.64 kB / 0.5149 GB, free: 8.727 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.2637, allocations: 1.188 kB / 0.5149 GB, free: 8.727 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.209e-05/0.2638, allocations: 1.156 kB / 0.5149 GB, free: 8.727 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.11e-06/0.2638, allocations: 1.531 kB / 0.5149 GB, free: 8.727 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0001867/0.264, allocations: 194.4 kB / 0.5151 GB, free: 8.527 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.004e-05/0.264, allocations: 110.4 kB / 0.5152 GB, free: 8.414 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.316e-05/0.2641, allocations: 109.3 kB / 0.5153 GB, free: 8.301 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.53e-05/0.2642, allocations: 181.5 kB / 0.5155 GB, free: 8.117 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.425e-05/0.2643, allocations: 177.5 kB / 0.5157 GB, free: 7.938 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.76e-05/0.2644, allocations: 189.2 kB / 0.5159 GB, free: 7.746 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000273/0.2647, allocations: 407.9 kB / 0.5162 GB, free: 7.293 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.507e-05/0.2647, allocations: 106.3 kB / 0.5163 GB, free: 7.184 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.1e-05/0.2648, allocations: 105 kB / 0.5164 GB, free: 7.074 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.104e-05/0.2649, allocations: 177.8 kB / 0.5166 GB, free: 6.895 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.602e-05/0.2649, allocations: 181.6 kB / 0.5168 GB, free: 6.711 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.018e-05/0.265, allocations: 189.6 kB / 0.517 GB, free: 6.52 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.905e-05/0.2651, allocations: 180.2 kB / 0.5171 GB, free: 6.336 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001567/0.2653, allocations: 304.5 kB / 0.5174 GB, free: 6.02 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.234e-05/0.2654, allocations: 195.2 kB / 0.5176 GB, free: 5.805 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.855e-05/0.2655, allocations: 182.7 kB / 0.5178 GB, free: 5.621 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.966e-05/0.2656, allocations: 104.9 kB / 0.5179 GB, free: 5.512 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.653e-05/0.2657, allocations: 177.6 kB / 0.5181 GB, free: 5.332 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.503e-05/0.2657, allocations: 102.2 kB / 0.5182 GB, free: 5.227 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.804e-05/0.2658, allocations: 90.8 kB / 0.5182 GB, free: 5.141 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2658, allocations: 1.344 kB / 0.5183 GB, free: 5.141 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002205/0.266, allocations: 1.375 kB / 0.5183 GB, free: 5.141 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 (0): * Single equations (assignments): 0 * 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.0004666/0.2665, allocations: 0.8026 MB / 0.519 GB, free: 4.324 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 8.23e-05/0.2666, allocations: 10.86 kB / 0.519 GB, free: 4.316 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2666, allocations: 0 / 0.519 GB, free: 4.316 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.533e-06/0.2666, allocations: 5.375 kB / 0.5191 GB, free: 4.312 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004687/0.2671, allocations: 461.2 kB / 0.5195 GB, free: 3.859 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001059/0.2681, allocations: 1.277 MB / 0.5207 GB, free: 2.531 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003112/0.2685, allocations: 0.6751 MB / 0.5214 GB, free: 1.832 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.208e-05/0.2685, allocations: 5.469 kB / 0.5214 GB, free: 1.828 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.932e-05/0.2685, allocations: 11.42 kB / 0.5214 GB, free: 1.816 MB / 334.1 MB Notification: Performance of SimCode: time 5.31e-07/0.2685, allocations: 1.406 kB / 0.5214 GB, free: 1.816 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02269/0.2912, allocations: 0.9717 MB / 0.5224 GB, free: 1.227 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.839/8.131, allocations: 9.938 kB / 0.5224 GB, free: 1.219 MB / 334.1 MB " [Timeout remaining time 652] (rm -f HanserModelica_HanserModelica.Classes.MixedDeclaration.pipe ; mkfifo HanserModelica_HanserModelica.Classes.MixedDeclaration.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Classes.MixedDeclaration.pipe >> ../files/HanserModelica_HanserModelica.Classes.MixedDeclaration.sim & python3 -m fmpy simulate --output-file HanserModelica_HanserModelica.Classes.MixedDeclaration_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 HanserModelica_HanserModelica_Classes_MixedDeclaration.fmu > HanserModelica_HanserModelica.Classes.MixedDeclaration.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.756800216040574] Failed to read output from testmodel.py, exit status != 0: 8.194241923978552 8.209392336 7.945268114 Calling exit ...