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.001428/0.001428, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.686/1.686, allocations: 230.6 MB / 253.4 MB, free: 14.48 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.001769/0.001769, allocations: 216.2 kB / 310 MB, free: 3.129 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.04319/0.04319, allocations: 8.911 MB / 375.4 MB, free: 6.77 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.Machines.EquivalentCircuit,fileNamePrefix="HanserModelica_HanserModelica_Machines_EquivalentCircuit",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Machines.EquivalentCircuit,fileNamePrefix="HanserModelica_HanserModelica_Machines_EquivalentCircuit",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.002492/0.002492, allocations: 79.88 kB / 0.49 GB, free: 44.9 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1277, allocations: 55.62 MB / 0.5443 GB, free: 5.18 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.EquivalentCircuit): time 0.02358/0.1513, allocations: 19.03 MB / 0.5629 GB, free: 2.055 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3173/0.4685, allocations: 5.119 MB / 0.5679 GB, free: 8.434 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004784/0.4733, allocations: 186.1 kB / 0.568 GB, free: 8.434 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01744/0.4908, allocations: 8.326 MB / 0.5762 GB, free: 8.062 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01049/0.5012, allocations: 2.224 MB / 0.5784 GB, free: 7.457 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006492/0.5077, allocations: 1.634 MB / 0.5799 GB, free: 7.305 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01843/0.5262, allocations: 10.91 MB / 0.5906 GB, free: 2.223 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04263/0.5688, allocations: 16.45 MB / 0.6067 GB, free: 9.168 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01484/0.5836, allocations: 6.207 MB / 0.6127 GB, free: 5.816 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0148/0.5984, allocations: 6.863 MB / 0.6194 GB, free: 15.26 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005472/0.6039, allocations: 1.621 MB / 0.621 GB, free: 13.64 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007465/0.6114, allocations: 1.933 MB / 0.6229 GB, free: 11.71 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006254/0.6176, allocations: 3.312 MB / 0.6261 GB, free: 8.445 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01542/0.6331, allocations: 6.392 MB / 0.6324 GB, free: 2.086 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03418/0.6672, allocations: 21.99 MB / 0.6539 GB, free: 12.49 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.052e-05/0.6672, allocations: 0 / 0.6539 GB, free: 12.49 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.6672, allocations: 0 / 0.6539 GB, free: 12.49 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0009331/0.6682, allocations: 0 / 0.6539 GB, free: 12.49 MB / 446.1 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.05129/0.7195, allocations: 13.94 MB / 0.6675 GB, free: 14.59 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.751e-05/0.7195, allocations: 15.98 kB / 0.6675 GB, free: 14.58 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0004775/0.72, allocations: 294.6 kB / 0.6678 GB, free: 14.29 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009207/0.7292, allocations: 1.577 MB / 0.6693 GB, free: 12.71 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04701/0.7762, allocations: 7.778 MB / 0.6769 GB, free: 5.016 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02021/0.7965, allocations: 6.9 MB / 0.6836 GB, free: 14.08 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001129/0.7976, allocations: 0.8064 MB / 0.6844 GB, free: 13.28 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005976/0.8036, allocations: 1.065 MB / 0.6855 GB, free: 12.23 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06194/0.8655, allocations: 17.82 MB / 0.7029 GB, free: 10.38 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006649/0.8662, allocations: 7.953 kB / 0.7029 GB, free: 10.38 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006148/0.8723, allocations: 454.8 kB / 0.7033 GB, free: 9.941 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001019/0.8733, allocations: 0.5735 MB / 0.7039 GB, free: 9.363 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0437/0.917, allocations: 16.25 MB / 0.7197 GB, free: 9.082 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1131/1.03, allocations: 51.98 MB / 0.7705 GB, free: 4.27 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.6125/1.643, allocations: 7.639 MB / 0.778 GB, free: 158.6 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006887/1.65, allocations: 3.401 MB / 0.7813 GB, free: 158.6 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004796/1.65, allocations: 164 kB / 0.7814 GB, free: 158.6 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.065e-05/1.65, allocations: 84.06 kB / 0.7815 GB, free: 158.5 MB / 0.545 GB Notification: Performance of pre-optimization done (n=492): time 7.494e-06/1.65, allocations: 1.25 kB / 0.7815 GB, free: 158.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=492): time 0.02399/1.674, allocations: 10.33 MB / 0.7916 GB, free: 156.3 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000107/1.674, allocations: 135.5 kB / 0.7917 GB, free: 156.2 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007379/1.682, allocations: 3.502 MB / 0.7951 GB, free: 155 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0011/1.683, allocations: 102.9 kB / 0.7952 GB, free: 154.9 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002948/1.686, allocations: 4.498 MB / 0.7996 GB, free: 152.5 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.00224/1.688, allocations: 1.749 MB / 0.8013 GB, free: 151.3 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002219/1.69, allocations: 1.329 MB / 0.8026 GB, free: 150.7 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 6.922e-05/1.69, allocations: 305.1 kB / 0.8029 GB, free: 150.4 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005411/1.696, allocations: 3.28 MB / 0.8061 GB, free: 149.3 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005957/1.702, allocations: 5.617 MB / 0.8116 GB, free: 145.2 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01015/1.712, allocations: 9.538 MB / 0.8209 GB, free: 139.2 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.436e-05/1.712, allocations: 23.16 kB / 0.821 GB, free: 139.2 MB / 0.545 GB Notification: Performance of matching and sorting (n=864) (initialization): time 0.01666/1.728, allocations: 10.29 MB / 0.831 GB, free: 135.3 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.985e-05/1.728, allocations: 39.28 kB / 0.831 GB, free: 135.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001529/1.729, allocations: 74.25 kB / 0.8311 GB, free: 135.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002737/1.731, allocations: 1.085 MB / 0.8322 GB, free: 135 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005525/1.737, allocations: 1.534 MB / 0.8337 GB, free: 134.9 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01332/1.75, allocations: 13.22 MB / 0.8466 GB, free: 123.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005879/1.756, allocations: 0.8741 MB / 0.8474 GB, free: 122.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001261/1.757, allocations: 325.8 kB / 0.8477 GB, free: 122.1 MB / 0.545 GB 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.007782/1.765, allocations: 4.115 MB / 0.8518 GB, free: 118 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001508/1.767, allocations: 417.3 kB / 0.8522 GB, free: 117.6 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01259/1.779, allocations: 7.824 MB / 0.8598 GB, free: 109.7 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009265/1.789, allocations: 6.48 MB / 0.8661 GB, free: 103.2 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.529e-05/1.789, allocations: 16 kB / 0.8661 GB, free: 103.1 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.494e-05/1.789, allocations: 23.91 kB / 0.8662 GB, free: 103.1 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03775/1.826, allocations: 17.61 MB / 0.8834 GB, free: 85.34 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.219e-05/1.826, allocations: 12 kB / 0.8834 GB, free: 85.32 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003617/1.83, allocations: 0.9595 MB / 0.8843 GB, free: 84.36 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00263/1.833, allocations: 0.994 MB / 0.8853 GB, free: 83.36 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007789/1.833, allocations: 132 kB / 0.8854 GB, free: 83.23 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01359/1.847, allocations: 12.9 MB / 0.898 GB, free: 69.89 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.846e-05/1.847, allocations: 23.88 kB / 0.898 GB, free: 69.87 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02128/1.868, allocations: 12.12 MB / 0.9099 GB, free: 57.21 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003872/1.872, allocations: 1.117 MB / 0.911 GB, free: 56.09 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001944/1.874, allocations: 112 kB / 0.9111 GB, free: 55.98 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004349/1.879, allocations: 315.6 kB / 0.9114 GB, free: 55.68 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001433/1.88, allocations: 426.3 kB / 0.9118 GB, free: 55.26 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000859/1.881, allocations: 172 kB / 0.9119 GB, free: 55.09 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005305/1.886, allocations: 2.358 MB / 0.9142 GB, free: 52.73 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/1.886, allocations: 0 / 0.9142 GB, free: 52.73 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01135/1.897, allocations: 2.683 MB / 0.9169 GB, free: 50.04 MB / 0.545 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.02134/1.919, allocations: 12.89 MB / 0.9294 GB, free: 36.62 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01488/1.934, allocations: 8.294 MB / 0.9375 GB, free: 28.25 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.553e-05/1.934, allocations: 8.062 kB / 0.9375 GB, free: 28.24 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.007162/1.941, allocations: 3.99 MB / 0.9414 GB, free: 24.2 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00769/1.949, allocations: 0.9493 MB / 0.9424 GB, free: 23.28 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4668/2.415, allocations: 59.75 MB / 1.001 GB, free: 172.6 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01707/2.432, allocations: 7.014 MB / 1.008 GB, free: 171.6 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.009554/2.442, allocations: 2.545 MB / 1.01 GB, free: 171.6 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008734/2.451, allocations: 3.67 MB / 1.014 GB, free: 170.5 MB / 0.5763 GB Notification: Performance of SimCode: time 2.474e-06/2.451, allocations: 1.719 kB / 1.014 GB, free: 170.5 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2382/2.689, allocations: 140.2 MB / 1.151 GB, free: 58.23 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.01/25.7, allocations: 7.156 kB / 1.151 GB, free: 58.23 MB / 0.5763 GB " [Timeout remaining time 634] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_Machines_EquivalentCircuit_fmu --startTime=0 --stopTime=1 --stepSize=0.1 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_Machines_EquivalentCircuit.fmu > HanserModelica_HanserModelica.Machines.EquivalentCircuit.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 29.23978345200885] Failed to read output from testmodel.py, exit status != 0: 25.938500890973955 25.9569943 25.285981086 Calling exit ...