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.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.001768/0.001768, allocations: 110.8 kB / 16.46 MB, free: 6.035 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.449/1.449, allocations: 225.6 MB / 244.8 MB, free: 14.18 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.001822/0.001822, allocations: 198.1 kB / 299.8 MB, free: 9.828 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.04153/0.04153, allocations: 8.937 MB / 363.6 MB, free: 10.18 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.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 0.002357/0.002357, allocations: 83.19 kB / 486.1 MB, free: 11.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1109, allocations: 54.41 MB / 0.5278 GB, free: 1.227 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.EquivalentCircuit): time 0.02382/0.1347, allocations: 18.99 MB / 0.5463 GB, free: 14.14 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01109/0.1458, allocations: 5.046 MB / 0.5513 GB, free: 9.086 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004099/0.1499, allocations: 159.6 kB / 0.5514 GB, free: 8.93 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02088/0.1708, allocations: 8.285 MB / 0.5595 GB, free: 0.625 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008312/0.1791, allocations: 2.183 MB / 0.5616 GB, free: 14.44 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005066/0.1841, allocations: 1.585 MB / 0.5632 GB, free: 12.86 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01774/0.2019, allocations: 10.77 MB / 0.5737 GB, free: 2.047 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03628/0.2382, allocations: 19.69 MB / 0.5929 GB, free: 14.16 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00929/0.2475, allocations: 6.067 MB / 0.5989 GB, free: 8.078 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01083/0.2583, allocations: 6.829 MB / 0.6055 GB, free: 1.227 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004278/0.2626, allocations: 1.633 MB / 0.6071 GB, free: 15.59 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005938/0.2685, allocations: 1.906 MB / 0.609 GB, free: 13.69 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005685/0.2742, allocations: 3.312 MB / 0.6122 GB, free: 10.37 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01237/0.2866, allocations: 6.393 MB / 0.6185 GB, free: 3.949 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.4767/0.7633, allocations: 21.96 MB / 0.6399 GB, free: 43.55 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.7633, allocations: 1.219 kB / 0.6399 GB, free: 43.55 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.7633, allocations: 0.8438 kB / 0.6399 GB, free: 43.55 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005088/0.7638, allocations: 0 / 0.6399 GB, free: 43.55 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.03823/0.802, allocations: 14.01 MB / 0.6536 GB, free: 39.94 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.8021, allocations: 10.78 kB / 0.6536 GB, free: 39.94 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004892/0.8069, allocations: 1.565 MB / 0.6551 GB, free: 39.82 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0414/0.8483, allocations: 7.941 MB / 0.6629 GB, free: 38.72 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01866/0.867, allocations: 6.777 MB / 0.6695 GB, free: 35.58 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007631/0.8678, allocations: 0.8124 MB / 0.6703 GB, free: 35.21 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004654/0.8724, allocations: 1.056 MB / 0.6713 GB, free: 34.86 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04055/0.913, allocations: 17.77 MB / 0.6887 GB, free: 18.7 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005201/0.9135, allocations: 11.95 kB / 0.6887 GB, free: 18.69 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003718/0.9172, allocations: 451.5 kB / 0.6891 GB, free: 18.26 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004892/0.9177, allocations: 0.5813 MB / 0.6897 GB, free: 17.68 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03165/0.9493, allocations: 16.21 MB / 0.7055 GB, free: 1.438 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1123/1.062, allocations: 52.83 MB / 0.7571 GB, free: 12.37 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01985/1.082, allocations: 15.27 MB / 0.772 GB, free: 11.6 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007201/1.089, allocations: 3.403 MB / 0.7754 GB, free: 8.191 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000673/1.089, allocations: 191.1 kB / 0.7755 GB, free: 8.004 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001255/1.09, allocations: 90.12 kB / 0.7756 GB, free: 7.906 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=492): time 1.286e-05/1.09, allocations: 0 / 0.7756 GB, free: 7.906 MB / 0.5138 GB Notification: Performance of matching and sorting (n=492): time 0.02689/1.116, allocations: 10.61 MB / 0.786 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001277/1.117, allocations: 129.5 kB / 0.7861 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00702/1.124, allocations: 3.502 MB / 0.7895 GB, free: 9.562 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0008775/1.124, allocations: 105.7 kB / 0.7896 GB, free: 9.453 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003926/1.128, allocations: 4.491 MB / 0.794 GB, free: 4.949 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002972/1.131, allocations: 1.755 MB / 0.7957 GB, free: 3.219 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004823/1.136, allocations: 1.307 MB / 0.797 GB, free: 1.902 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000149/1.136, allocations: 304.7 kB / 0.7973 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00662/1.143, allocations: 3.275 MB / 0.8005 GB, free: 14.33 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009408/1.152, allocations: 5.607 MB / 0.806 GB, free: 7.703 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01588/1.168, allocations: 9.514 MB / 0.8153 GB, free: 13.42 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001152/1.168, allocations: 20 kB / 0.8153 GB, free: 13.4 MB / 0.5607 GB Notification: Performance of matching and sorting (n=864) (initialization): time 0.02393/1.192, allocations: 10.25 MB / 0.8253 GB, free: 3.574 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001098/1.192, allocations: 38.62 kB / 0.8253 GB, free: 3.539 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001576/1.193, allocations: 79.47 kB / 0.8254 GB, free: 3.465 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003341/1.196, allocations: 1.087 MB / 0.8265 GB, free: 2.375 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00603/1.202, allocations: 1.523 MB / 0.828 GB, free: 0.9531 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01905/1.221, allocations: 13.61 MB / 0.8412 GB, free: 2.91 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005586/1.227, allocations: 0.8733 MB / 0.8421 GB, free: 2.031 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001582/1.228, allocations: 320 kB / 0.8424 GB, free: 1.719 MB / 0.5763 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.01037/1.238, allocations: 4.113 MB / 0.8464 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002292/1.241, allocations: 413.3 kB / 0.8468 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01915/1.26, allocations: 7.827 MB / 0.8545 GB, free: 5.449 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2599/1.52, allocations: 6.444 MB / 0.8608 GB, free: 218.9 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.038e-05/1.52, allocations: 15.41 kB / 0.8608 GB, free: 218.9 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000126/1.52, allocations: 25.22 kB / 0.8608 GB, free: 218.9 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02713/1.547, allocations: 17.51 MB / 0.8779 GB, free: 214.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.532e-05/1.547, allocations: 15.56 kB / 0.8779 GB, free: 214.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003508/1.551, allocations: 0.9515 MB / 0.8788 GB, free: 214.6 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00238/1.553, allocations: 0.9764 MB / 0.8798 GB, free: 214.4 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000483/1.554, allocations: 131.6 kB / 0.8799 GB, free: 214.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01212/1.566, allocations: 13.31 MB / 0.8929 GB, free: 205.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.226e-05/1.566, allocations: 24.62 kB / 0.8929 GB, free: 205.4 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01465/1.58, allocations: 12.09 MB / 0.9047 GB, free: 199.6 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002759/1.583, allocations: 1.138 MB / 0.9059 GB, free: 198.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007643/1.584, allocations: 113.6 kB / 0.906 GB, free: 198.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002388/1.586, allocations: 327.3 kB / 0.9063 GB, free: 198.2 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006191/1.587, allocations: 390.5 kB / 0.9066 GB, free: 197.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002846/1.587, allocations: 167.3 kB / 0.9068 GB, free: 197.8 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.002699/1.59, allocations: 2.366 MB / 0.9091 GB, free: 195.9 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.01e-07/1.59, allocations: 0 / 0.9091 GB, free: 195.9 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.006731/1.597, allocations: 2.686 MB / 0.9117 GB, free: 193.2 MB / 0.5919 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.01418/1.611, allocations: 12.85 MB / 0.9243 GB, free: 181.1 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01031/1.621, allocations: 8.267 MB / 0.9324 GB, free: 172.7 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.782e-05/1.621, allocations: 4 kB / 0.9324 GB, free: 172.7 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.005263/1.626, allocations: 3.959 MB / 0.9362 GB, free: 168.7 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004626/1.631, allocations: 0.9462 MB / 0.9372 GB, free: 167.8 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07838/1.709, allocations: 59.63 MB / 0.9954 GB, free: 104.9 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0145/1.724, allocations: 7.011 MB / 1.002 GB, free: 97.85 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.01127/1.735, allocations: 2.538 MB / 1.005 GB, free: 95.3 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00832/1.743, allocations: 3.643 MB / 1.008 GB, free: 91.66 MB / 0.5919 GB Notification: Performance of SimCode: time 1.783e-06/1.743, allocations: 4 kB / 1.008 GB, free: 91.66 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4422/2.186, allocations: 133.4 MB / 1.139 GB, free: 200.3 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.83/22.01, allocations: 2.656 kB / 1.139 GB, free: 200.3 MB / 0.5919 GB " [Timeout remaining time 638] (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: 25.20340992230922] Failed to read output from testmodel.py, exit status != 0: 22.35071259876713 22.196573812 21.42960134 Calling exit ...