Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Electrical.Signals.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.001455/0.001455, allocations: 124.9 kB / 17.17 MB, free: 5.918 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.697/1.697, allocations: 230.6 MB / 250.5 MB, free: 9.203 MB / 206.1 MB " [Timeout remaining time 178] 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.002785/0.002785, allocations: 207.9 kB / 306.7 MB, free: 4.297 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.04145/0.04145, allocations: 8.909 MB / 371.7 MB, free: 3.441 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/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 Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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: "" <> buildModelFMU(HanserModelica.Electrical.Signals,fileNamePrefix="HanserModelica_HanserModelica_Electrical_Signals",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Electrical.Signals,fileNamePrefix="HanserModelica_HanserModelica_Electrical_Signals",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: HanserModelica requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: HanserModelica 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.002494/0.002494, allocations: 84.95 kB / 496.4 MB, free: 4.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1595/0.162, allocations: 55.59 MB / 0.5391 GB, free: 6.473 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Signals): time 0.004892/0.1669, allocations: 2.214 MB / 0.5412 GB, free: 4.238 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001442/0.1683, allocations: 0.5338 MB / 0.5418 GB, free: 3.699 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001987/0.1685, allocations: 7.938 kB / 0.5418 GB, free: 3.691 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002489/0.1688, allocations: 31.66 kB / 0.5418 GB, free: 3.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001213/0.1689, allocations: 35.64 kB / 0.5418 GB, free: 3.625 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002781/0.1692, allocations: 47.89 kB / 0.5419 GB, free: 3.578 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003331/0.1695, allocations: 159.4 kB / 0.542 GB, free: 3.422 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000254/0.1698, allocations: 50.08 kB / 0.5421 GB, free: 3.375 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001337/0.1699, allocations: 67.73 kB / 0.5421 GB, free: 3.309 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001696/0.1701, allocations: 63.64 kB / 0.5422 GB, free: 3.246 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.992e-05/0.1701, allocations: 12 kB / 0.5422 GB, free: 3.234 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.246e-05/0.1701, allocations: 16 kB / 0.5422 GB, free: 3.219 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.249e-05/0.1702, allocations: 39.89 kB / 0.5423 GB, free: 3.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001198/0.1703, allocations: 71.61 kB / 0.5423 GB, free: 3.109 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004074/0.1707, allocations: 167.3 kB / 0.5425 GB, free: 2.945 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.1707, allocations: 7.938 kB / 0.5425 GB, free: 2.938 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.915e-06/0.1707, allocations: 0 / 0.5425 GB, free: 2.938 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.08e-05/0.1708, allocations: 0 / 0.5425 GB, free: 2.938 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.001045/0.1718, allocations: 454.8 kB / 0.5429 GB, free: 2.445 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.013e-05/0.1719, allocations: 8.031 kB / 0.5429 GB, free: 2.438 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.121e-05/0.1719, allocations: 4.188 kB / 0.543 GB, free: 2.434 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.941e-05/0.172, allocations: 50.73 kB / 0.543 GB, free: 2.375 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.393e-05/0.172, allocations: 28.8 kB / 0.543 GB, free: 2.348 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005393/0.1726, allocations: 216.1 kB / 0.5432 GB, free: 2.098 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.277e-05/0.1726, allocations: 8.375 kB / 0.5432 GB, free: 2.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.475e-05/0.1727, allocations: 20.38 kB / 0.5433 GB, free: 2.07 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004011/0.1731, allocations: 173.4 kB / 0.5434 GB, free: 1.887 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.978e-05/0.1731, allocations: 3.938 kB / 0.5434 GB, free: 1.883 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.973e-05/0.1731, allocations: 12 kB / 0.5434 GB, free: 1.871 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.1731, allocations: 4 kB / 0.5434 GB, free: 1.867 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002335/0.1734, allocations: 84.8 kB / 0.5435 GB, free: 1.785 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001257/0.1746, allocations: 0.7303 MB / 0.5442 GB, free: 0.9844 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002753/0.1749, allocations: 78.48 kB / 0.5443 GB, free: 0.8984 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/0.175, allocations: 36.84 kB / 0.5443 GB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.728e-05/0.175, allocations: 0 / 0.5443 GB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.75e-05/0.175, allocations: 38.55 kB / 0.5444 GB, free: 0.8125 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.783e-06/0.175, allocations: 0 / 0.5444 GB, free: 0.8125 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003563/0.1754, allocations: 105.7 kB / 0.5445 GB, free: 0.7031 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.195e-05/0.1755, allocations: 59.34 kB / 0.5445 GB, free: 0.6328 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001912/0.1756, allocations: 154.4 kB / 0.5447 GB, free: 480 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.046e-05/0.1757, allocations: 25.7 kB / 0.5447 GB, free: 448 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001372/0.1758, allocations: 143.7 kB / 0.5449 GB, free: 300 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.7e-05/0.1758, allocations: 19.86 kB / 0.5449 GB, free: 280 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.632e-05/0.1759, allocations: 33.7 kB / 0.5449 GB, free: 240 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002185/0.1761, allocations: 318.8 kB / 0.5452 GB, free: 15.91 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.163e-05/0.1762, allocations: 27.98 kB / 0.5452 GB, free: 15.89 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001005/0.1763, allocations: 64.22 kB / 0.5453 GB, free: 15.81 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001864/0.1765, allocations: 88.22 kB / 0.5454 GB, free: 15.71 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.1765, allocations: 0 / 0.5454 GB, free: 15.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002476/0.1767, allocations: 133.4 kB / 0.5455 GB, free: 15.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.1768, allocations: 11.25 kB / 0.5455 GB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.1768, allocations: 7.938 kB / 0.5455 GB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/0.1768, allocations: 0 / 0.5455 GB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001559/0.1769, allocations: 23.98 kB / 0.5455 GB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.251e-05/0.177, allocations: 7.938 kB / 0.5456 GB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.134e-05/0.177, allocations: 15.89 kB / 0.5456 GB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.235e-05/0.1771, allocations: 4 kB / 0.5456 GB, free: 15.5 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 1 (integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.000168/0.1772, allocations: 129.8 kB / 0.5457 GB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.732e-05/0.1773, allocations: 7.953 kB / 0.5457 GB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.936e-05/0.1773, allocations: 20.7 kB / 0.5457 GB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.1773, allocations: 4 kB / 0.5457 GB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.979e-06/0.1773, allocations: 3.938 kB / 0.5457 GB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.1773, allocations: 0 / 0.5457 GB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003165/0.1776, allocations: 213.5 kB / 0.5459 GB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.1776, allocations: 0 / 0.5459 GB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001195/0.1778, allocations: 23.98 kB / 0.546 GB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.1778, allocations: 0 / 0.546 GB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.1778, allocations: 0 / 0.546 GB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.663e-06/0.1778, allocations: 7.938 kB / 0.546 GB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.985e-06/0.1778, allocations: 11.94 kB / 0.546 GB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003755/0.1782, allocations: 215.4 kB / 0.5462 GB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.054e-05/0.1782, allocations: 85 kB / 0.5463 GB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.444e-05/0.1783, allocations: 4.031 kB / 0.5463 GB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.1784, allocations: 7.984 kB / 0.5463 GB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.551e-05/0.1784, allocations: 3.938 kB / 0.5463 GB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.254e-06/0.1784, allocations: 8.062 kB / 0.5463 GB, free: 14.68 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001366/0.1786, allocations: 116.9 kB / 0.5464 GB, free: 14.56 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1786, allocations: 0 / 0.5464 GB, free: 14.56 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002958/0.1789, allocations: 35.89 kB / 0.5464 GB, free: 14.53 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (inductor.i,integrator.y) * 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 (7): * Single equations (assignments): 7 * 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.0006852/0.1795, allocations: 0.7359 MB / 0.5472 GB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002574/0.1798, allocations: 67.89 kB / 0.5472 GB, free: 13.7 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.1798, allocations: 0 / 0.5472 GB, free: 13.7 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.207e-05/0.1799, allocations: 27.98 kB / 0.5472 GB, free: 13.67 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003823/0.1803, allocations: 19.92 kB / 0.5473 GB, free: 13.65 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002727/0.183, allocations: 1.791 MB / 0.549 GB, free: 11.75 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003958/0.1834, allocations: 0.7158 MB / 0.5497 GB, free: 11.01 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.225e-05/0.1834, allocations: 8.891 kB / 0.5497 GB, free: 11 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.571e-05/0.1835, allocations: 39.42 kB / 0.5498 GB, free: 10.96 MB / 366.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1835, allocations: 0 / 0.5498 GB, free: 10.96 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02507/0.2086, allocations: 2.581 MB / 0.5523 GB, free: 8.461 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.291/9.499, allocations: 12.25 kB / 0.5523 GB, free: 8.453 MB / 366.1 MB " [Timeout remaining time 650] (rm -f HanserModelica_HanserModelica.Electrical.Signals.pipe ; mkfifo HanserModelica_HanserModelica.Electrical.Signals.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Electrical.Signals.pipe >> ../files/HanserModelica_HanserModelica.Electrical.Signals.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_Electrical_Signals_fmu --startTime=0 --stopTime=3 --stepSize=0.001 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_Electrical_Signals.fmu > HanserModelica_HanserModelica.Electrical.Signals.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.885179800039623] Failed to read output from testmodel.py, exit status != 0: 9.631703143008053 9.659062411 9.482894911 Calling exit ...