Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Machines.EquivalentCircuit.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.0009019/0.0009019, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.9187/0.9187, allocations: 177.1 MB / 199.4 MB, free: 5.938 MB / 186.7 MB " [Timeout remaining time 179] 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.001092/0.001092, allocations: 160.6 kB / 256 MB, free: 13.34 MB / 250.7 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.02212/0.02212, allocations: 6.66 MB / 319 MB, free: 26.77 MB / 266.7 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.Machines.EquivalentCircuit,fileNamePrefix="HanserModelica_HanserModelica_Machines_EquivalentCircuit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Machines.EquivalentCircuit,fileNamePrefix="HanserModelica_HanserModelica_Machines_EquivalentCircuit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 445.4 MB, free: 37.61 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.928e-05/2.081e-05, allocations: 5.094 kB / 445.4 MB, free: 37.6 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.EquivalentCircuit): time 0.008882/0.008903, allocations: 16.28 MB / 461.7 MB, free: 21.24 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.008316/0.01722, allocations: 4.965 MB / 466.6 MB, free: 16.26 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002207/0.01943, allocations: 183.1 kB / 466.8 MB, free: 16.08 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006216/0.02564, allocations: 8.121 MB / 474.9 MB, free: 7.941 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003797/0.02944, allocations: 2.218 MB / 477.2 MB, free: 5.715 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001904/0.03134, allocations: 1.582 MB / 478.7 MB, free: 4.141 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.007139/0.03848, allocations: 11.27 MB / 490 MB, free: 8.824 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01595/0.05443, allocations: 16.28 MB / 0.4944 GB, free: 8.344 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008185/0.06262, allocations: 9.045 MB / 0.5033 GB, free: 15.29 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005789/0.0684, allocations: 6.047 MB / 0.5092 GB, free: 9.227 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001975/0.07038, allocations: 1.625 MB / 0.5108 GB, free: 7.602 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002377/0.07276, allocations: 1.929 MB / 0.5126 GB, free: 5.672 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001761/0.07452, allocations: 3.37 MB / 0.5159 GB, free: 2.293 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004032/0.07855, allocations: 4.289 MB / 0.5201 GB, free: 14 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01405/0.0926, allocations: 22.22 MB / 0.5418 GB, free: 7.719 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.09261, allocations: 3.984 kB / 0.5418 GB, free: 7.715 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.09261, allocations: 0 / 0.5418 GB, free: 7.715 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005468/0.09315, allocations: 0 / 0.5418 GB, free: 7.715 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3006 * Number of variables: 3006 Notification: Performance of Generate backend data structure: time 0.02253/0.1157, allocations: 13.82 MB / 0.5553 GB, free: 9.801 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.1157, allocations: 8.031 kB / 0.5553 GB, free: 9.793 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001675/0.1174, allocations: 1.574 MB / 0.5569 GB, free: 8.207 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02056/0.138, allocations: 7.785 MB / 0.5645 GB, free: 412 kB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2989/0.4369, allocations: 6.896 MB / 0.5712 GB, free: 101.9 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004157/0.4373, allocations: 0.811 MB / 0.572 GB, free: 101.5 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001927/0.4392, allocations: 1.063 MB / 0.573 GB, free: 101.1 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01909/0.4583, allocations: 18.04 MB / 0.5906 GB, free: 88.71 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001535/0.4585, allocations: 7.953 kB / 0.5907 GB, free: 88.71 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006877/0.4592, allocations: 453.2 kB / 0.5911 GB, free: 88.27 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002916/0.4595, allocations: 0.5735 MB / 0.5916 GB, free: 87.7 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01615/0.4756, allocations: 16.19 MB / 0.6075 GB, free: 71.48 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04463/0.5202, allocations: 47.88 MB / 0.6542 GB, free: 23.3 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007061/0.5273, allocations: 7.589 MB / 0.6616 GB, free: 16.08 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002935/0.5302, allocations: 3.401 MB / 0.6649 GB, free: 12.68 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002499/0.5305, allocations: 132.3 kB / 0.6651 GB, free: 12.55 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.983e-05/0.5305, allocations: 82.95 kB / 0.6651 GB, free: 12.46 MB / 426.8 MB Notification: Performance of pre-optimization done (n=492): time 7.424e-06/0.5305, allocations: 0 / 0.6651 GB, free: 12.46 MB / 426.8 MB Notification: Performance of matching and sorting (n=492): time 0.01107/0.5416, allocations: 10.34 MB / 0.6752 GB, free: 2.074 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.708e-05/0.5417, allocations: 133.4 kB / 0.6754 GB, free: 1.922 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003251/0.5449, allocations: 3.634 MB / 0.6789 GB, free: 14.38 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.000193/0.5451, allocations: 105.7 kB / 0.679 GB, free: 14.27 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002052/0.5472, allocations: 4.484 MB / 0.6834 GB, free: 9.824 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.000928/0.5481, allocations: 1.724 MB / 0.6851 GB, free: 8.121 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001265/0.5493, allocations: 1.319 MB / 0.6864 GB, free: 6.793 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 6.452e-05/0.5494, allocations: 301.1 kB / 0.6867 GB, free: 6.496 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00329/0.5527, allocations: 3.28 MB / 0.6899 GB, free: 3.211 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004596/0.5573, allocations: 5.623 MB / 0.6954 GB, free: 12.54 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008225/0.5655, allocations: 9.535 MB / 0.7047 GB, free: 1.926 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.342e-05/0.5656, allocations: 24 kB / 0.7047 GB, free: 1.902 MB / 458.8 MB Notification: Performance of matching and sorting (n=864) (initialization): time 0.01068/0.5763, allocations: 10.29 MB / 0.7147 GB, free: 7.562 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.193e-05/0.5763, allocations: 40 kB / 0.7148 GB, free: 7.523 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.917e-05/0.5764, allocations: 72.03 kB / 0.7148 GB, free: 7.453 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001859/0.5782, allocations: 1.093 MB / 0.7159 GB, free: 6.352 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002621/0.5808, allocations: 1.525 MB / 0.7174 GB, free: 4.824 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01059/0.5914, allocations: 13.04 MB / 0.7301 GB, free: 7.344 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002957/0.5944, allocations: 0.8655 MB / 0.731 GB, free: 6.473 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000385/0.5948, allocations: 320 kB / 0.7313 GB, free: 6.16 MB / 490.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 341 * 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 (790): * Single equations (assignments): 784 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(4,30,100.0%), (1,13,100.0%), (1,13,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005072/0.5998, allocations: 4.122 MB / 0.7353 GB, free: 2.023 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005648/0.6004, allocations: 413.3 kB / 0.7357 GB, free: 1.617 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00821/0.6086, allocations: 7.833 MB / 0.7434 GB, free: 9.715 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006316/0.6149, allocations: 6.484 MB / 0.7497 GB, free: 3.184 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.661e-05/0.615, allocations: 12 kB / 0.7497 GB, free: 3.172 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.728e-05/0.615, allocations: 23.91 kB / 0.7497 GB, free: 3.148 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1839/0.7989, allocations: 16.99 MB / 0.7663 GB, free: 160.6 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.747e-05/0.7989, allocations: 11.91 kB / 0.7663 GB, free: 160.6 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001881/0.8008, allocations: 0.9606 MB / 0.7673 GB, free: 160.5 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001593/0.8024, allocations: 0.9806 MB / 0.7682 GB, free: 160.3 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001887/0.8026, allocations: 138.6 kB / 0.7684 GB, free: 160.2 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007167/0.8097, allocations: 12.72 MB / 0.7808 GB, free: 151.9 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.782e-06/0.8098, allocations: 21.03 kB / 0.7808 GB, free: 151.9 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009441/0.8192, allocations: 12.11 MB / 0.7926 GB, free: 143.5 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001475/0.8207, allocations: 1.107 MB / 0.7937 GB, free: 142.6 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002978/0.821, allocations: 111.6 kB / 0.7938 GB, free: 142.5 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001151/0.8221, allocations: 316.9 kB / 0.7941 GB, free: 142.3 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004234/0.8225, allocations: 417.8 kB / 0.7945 GB, free: 142.1 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001812/0.8227, allocations: 179.7 kB / 0.7947 GB, free: 141.9 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.001912/0.8246, allocations: 2.352 MB / 0.797 GB, free: 140 MB / 0.4949 GB Notification: Performance of sort global known variables: time 7e-08/0.8246, allocations: 0 / 0.797 GB, free: 140 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.004141/0.8288, allocations: 2.682 MB / 0.7996 GB, free: 137.6 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 60 * Number of states: 2 (sineVoltage_m.plug_p.reference.gamma,sineVoltage_e.plug_p.reference.gamma) * 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 (501): * Single equations (assignments): 495 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(4,30,100.0%), (1,13,100.0%), (1,13,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009081/0.8379, allocations: 12.87 MB / 0.8122 GB, free: 125.9 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.007136/0.845, allocations: 8.294 MB / 0.8203 GB, free: 117.6 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 9.858e-06/0.845, allocations: 4 kB / 0.8203 GB, free: 117.6 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.002952/0.848, allocations: 3.973 MB / 0.8241 GB, free: 113.6 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002627/0.8506, allocations: 0.9454 MB / 0.8251 GB, free: 112.7 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05437/0.905, allocations: 59.69 MB / 0.8834 GB, free: 49.71 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004178/0.9091, allocations: 6.579 MB / 0.8898 GB, free: 43.09 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.003229/0.9124, allocations: 2.538 MB / 0.8923 GB, free: 40.55 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002418/0.9148, allocations: 3.682 MB / 0.8959 GB, free: 36.87 MB / 0.4949 GB Notification: Performance of SimCode: time 1.303e-06/0.9148, allocations: 0 / 0.8959 GB, free: 36.87 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3106/1.225, allocations: 135.8 MB / 1.028 GB, free: 110.3 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.72/12.94, allocations: 3.938 kB / 1.028 GB, free: 110.3 MB / 0.5105 GB " [Timeout remaining time 647] (rm -f HanserModelica_HanserModelica.Machines.EquivalentCircuit.pipe ; mkfifo HanserModelica_HanserModelica.Machines.EquivalentCircuit.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Machines.EquivalentCircuit.pipe >> ../files/HanserModelica_HanserModelica.Machines.EquivalentCircuit.sim & python3 -m fmpy simulate --output-file HanserModelica_HanserModelica.Machines.EquivalentCircuit_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.1 HanserModelica_HanserModelica_Machines_EquivalentCircuit.fmu > HanserModelica_HanserModelica.Machines.EquivalentCircuit.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.037810310721397] Failed to read output from testmodel.py, exit status != 0: 13.0785595420748 13.086366008 12.992317891 Calling exit ...