Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Electrical.Rectifier.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.0008532/0.0008532, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.8981/0.8981, 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.001115/0.001115, 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.02177/0.02177, allocations: 6.67 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.Electrical.Rectifier,fileNamePrefix="HanserModelica_HanserModelica_Electrical_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Electrical.Rectifier,fileNamePrefix="HanserModelica_HanserModelica_Electrical_Rectifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 445.4 MB, free: 37.65 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.755e-05/1.899e-05, allocations: 8.609 kB / 445.4 MB, free: 37.64 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Rectifier): time 0.003291/0.00331, allocations: 4.114 MB / 449.5 MB, free: 33.5 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001809/0.005119, allocations: 1.196 MB / 450.7 MB, free: 32.3 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003249/0.005444, allocations: 27.81 kB / 450.7 MB, free: 32.27 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002735/0.005717, allocations: 178.6 kB / 450.9 MB, free: 32.1 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000788/0.006505, allocations: 393.5 kB / 451.3 MB, free: 31.71 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002764/0.006782, allocations: 183.6 kB / 451.5 MB, free: 31.53 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008603/0.007642, allocations: 1.711 MB / 453.2 MB, free: 29.81 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004713/0.008113, allocations: 0.5919 MB / 453.8 MB, free: 29.18 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007391/0.008852, allocations: 1.053 MB / 454.8 MB, free: 28.12 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006413/0.009494, allocations: 0.7872 MB / 455.6 MB, free: 27.34 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001674/0.009661, allocations: 180 kB / 455.8 MB, free: 27.16 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001798/0.009841, allocations: 196 kB / 456 MB, free: 26.97 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002054/0.01005, allocations: 0.5103 MB / 456.5 MB, free: 26.46 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003063/0.01035, allocations: 0.573 MB / 457.1 MB, free: 25.88 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001053/0.01141, allocations: 2.404 MB / 459.5 MB, free: 23.47 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.01141, allocations: 0 / 459.5 MB, free: 23.47 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.245e-06/0.01141, allocations: 0 / 459.5 MB, free: 23.47 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.409e-05/0.01144, allocations: 4 kB / 459.5 MB, free: 23.47 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 290 * Number of variables: 290 Notification: Performance of Generate backend data structure: time 0.00189/0.01333, allocations: 1.758 MB / 461.2 MB, free: 21.67 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.01337, allocations: 12.03 kB / 461.2 MB, free: 21.66 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001322/0.0135, allocations: 177.4 kB / 461.4 MB, free: 21.48 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003024/0.01381, allocations: 188 kB / 461.6 MB, free: 21.29 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008711/0.01468, allocations: 0.9432 MB / 462.5 MB, free: 20.32 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.171e-05/0.01471, allocations: 86.59 kB / 462.6 MB, free: 20.24 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.112e-05/0.0148, allocations: 108.4 kB / 462.7 MB, free: 20.13 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001569/0.01637, allocations: 1.793 MB / 464.5 MB, free: 18.26 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.965e-05/0.01639, allocations: 0 / 464.5 MB, free: 18.26 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.571e-05/0.01645, allocations: 55.98 kB / 464.6 MB, free: 18.2 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.331e-05/0.0165, allocations: 46.17 kB / 464.6 MB, free: 18.16 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00146/0.01796, allocations: 1.551 MB / 466.2 MB, free: 16.6 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004211/0.02217, allocations: 4.528 MB / 470.7 MB, free: 11.97 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001065/0.02323, allocations: 1.329 MB / 472 MB, free: 10.66 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000658/0.02389, allocations: 0.8016 MB / 472.8 MB, free: 9.855 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.932e-05/0.02393, allocations: 13 kB / 472.8 MB, free: 9.844 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/0.02396, allocations: 43.56 kB / 472.9 MB, free: 9.793 MB / 330.7 MB Notification: Performance of pre-optimization done (n=92): time 3.827e-06/0.02396, allocations: 0 / 472.9 MB, free: 9.793 MB / 330.7 MB Notification: Performance of matching and sorting (n=93): time 0.00436/0.02832, allocations: 3.775 MB / 476.7 MB, free: 5.969 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.328e-05/0.02836, allocations: 60.41 kB / 476.7 MB, free: 5.898 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006879/0.02905, allocations: 0.8911 MB / 477.6 MB, free: 5 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.408e-05/0.02908, allocations: 41.7 kB / 477.7 MB, free: 4.953 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001609/0.02924, allocations: 0.5165 MB / 478.2 MB, free: 4.43 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.829e-05/0.02934, allocations: 317.2 kB / 478.5 MB, free: 4.117 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001299/0.02947, allocations: 146.7 kB / 478.6 MB, free: 3.969 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.067e-05/0.02951, allocations: 342 kB / 479 MB, free: 3.629 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004179/0.02993, allocations: 497.6 kB / 479.4 MB, free: 3.141 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004407/0.03037, allocations: 0.5722 MB / 480 MB, free: 2.559 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009175/0.03129, allocations: 1.065 MB / 481.1 MB, free: 1.484 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.03129, allocations: 0 / 481.1 MB, free: 1.484 MB / 330.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.001392/0.03268, allocations: 1.562 MB / 482.6 MB, free: 15.9 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.0327, allocations: 7.938 kB / 482.7 MB, free: 15.89 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.03271, allocations: 0 / 482.7 MB, free: 15.89 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007026/0.03342, allocations: 491 kB / 483.1 MB, free: 15.4 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003049/0.03372, allocations: 135.8 kB / 483.3 MB, free: 15.27 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005741/0.03946, allocations: 9.114 MB / 492.4 MB, free: 5.699 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000436/0.0399, allocations: 47.97 kB / 492.4 MB, free: 5.652 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.769e-05/0.03994, allocations: 24 kB / 492.4 MB, free: 5.629 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 (rectifier.diode_n.idealDiode[3].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.000585/0.04052, allocations: 0.4996 MB / 492.9 MB, free: 5.121 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001103/0.04063, allocations: 103.5 kB / 493.1 MB, free: 5.02 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001375/0.04077, allocations: 125.4 kB / 493.2 MB, free: 4.895 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.04077, allocations: 12 kB / 493.2 MB, free: 4.883 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.616e-05/0.04079, allocations: 7.922 kB / 493.2 MB, free: 4.875 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.0408, allocations: 3.984 kB / 493.2 MB, free: 4.871 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003285/0.04408, allocations: 2.98 MB / 496.2 MB, free: 1.82 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.04409, allocations: 4 kB / 496.2 MB, free: 1.816 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000267/0.04435, allocations: 115.9 kB / 496.3 MB, free: 1.703 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000585/0.04494, allocations: 495.3 kB / 496.8 MB, free: 1.207 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.089e-05/0.04498, allocations: 20.06 kB / 496.8 MB, free: 1.188 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005522/0.0505, allocations: 9.036 MB / 0.494 GB, free: 7.691 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.05051, allocations: 8.062 kB / 0.494 GB, free: 7.684 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002352/0.05286, allocations: 2.328 MB / 0.4963 GB, free: 5.324 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003758/0.05323, allocations: 223.3 kB / 0.4965 GB, free: 5.105 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.763e-05/0.0533, allocations: 23.92 kB / 0.4965 GB, free: 5.082 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000264/0.05356, allocations: 55.94 kB / 0.4965 GB, free: 5.027 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001669/0.05373, allocations: 96.77 kB / 0.4966 GB, free: 4.934 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.354e-05/0.05377, allocations: 24 kB / 0.4967 GB, free: 4.91 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005944/0.05436, allocations: 0.6395 MB / 0.4973 GB, free: 4.273 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.2e-07/0.05436, allocations: 0 / 0.4973 GB, free: 4.273 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008574/0.05522, allocations: 308 kB / 0.4976 GB, free: 3.973 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (inductor.inductor[2].i,inductor.inductor[3].i,capacitor1.v,capacitor2.v) * Number of discrete variables: 6 (rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002535/0.05775, allocations: 2.9 MB / 0.5004 GB, free: 1.023 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001948/0.0597, allocations: 1.756 MB / 0.5021 GB, free: 15.21 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.0597, allocations: 4 kB / 0.5021 GB, free: 15.21 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001082/0.06079, allocations: 1.23 MB / 0.5033 GB, free: 13.93 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009257/0.06171, allocations: 292.7 kB / 0.5036 GB, free: 13.64 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01158/0.07329, allocations: 11.2 MB / 0.5145 GB, free: 2.277 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006783/0.07397, allocations: 0.8304 MB / 0.5154 GB, free: 1.41 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003746/0.07434, allocations: 179.9 kB / 0.5155 GB, free: 1.23 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004014/0.07474, allocations: 420.4 kB / 0.5159 GB, free: 0.8203 MB / 378.7 MB Notification: Performance of SimCode: time 1.322e-06/0.07475, allocations: 0 / 0.5159 GB, free: 0.8203 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05428/0.129, allocations: 32.64 MB / 0.5478 GB, free: 0.5078 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.441/8.57, allocations: 10.83 kB / 0.5478 GB, free: 0.5 MB / 410.7 MB " [Timeout remaining time 651] (rm -f HanserModelica_HanserModelica.Electrical.Rectifier.pipe ; mkfifo HanserModelica_HanserModelica.Electrical.Rectifier.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Electrical.Rectifier.pipe >> ../files/HanserModelica_HanserModelica.Electrical.Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_Electrical_Rectifier_fmu --startTime=0 --stopTime=0.08 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_Electrical_Rectifier.fmu > HanserModelica_HanserModelica.Electrical.Rectifier.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.540858719497919] Failed to read output from testmodel.py, exit status != 0: 8.676082599908113 8.690249213 8.676923983 Calling exit ...