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.001291/0.001291, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.395/1.395, allocations: 230.6 MB / 252.7 MB, free: 8.082 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.002215/0.002215, allocations: 214.2 kB / 309.2 MB, free: 2.957 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.04341/0.04341, allocations: 8.923 MB / 374.6 MB, free: 1.73 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="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: 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.002599/0.002599, allocations: 87.88 kB / 0.4891 GB, free: 7.199 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2742/0.2768, allocations: 55.6 MB / 0.5434 GB, free: 26.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.EquivalentCircuit): time 0.01348/0.2903, allocations: 16.26 MB / 0.5593 GB, free: 15.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009502/0.2998, allocations: 4.936 MB / 0.5642 GB, free: 12.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00384/0.3037, allocations: 188.5 kB / 0.5643 GB, free: 12.29 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0171/0.3208, allocations: 7.667 MB / 0.5718 GB, free: 7.926 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008163/0.3289, allocations: 2.178 MB / 0.5739 GB, free: 6.629 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004887/0.3338, allocations: 1.563 MB / 0.5755 GB, free: 5.711 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01624/0.35, allocations: 10.92 MB / 0.5861 GB, free: 15.37 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03524/0.3853, allocations: 16.24 MB / 0.602 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01097/0.3962, allocations: 6.215 MB / 0.6081 GB, free: 10.49 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01255/0.4088, allocations: 6.708 MB / 0.6146 GB, free: 3.758 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005386/0.4142, allocations: 1.621 MB / 0.6162 GB, free: 2.137 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008774/0.423, allocations: 1.918 MB / 0.6181 GB, free: 228 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006407/0.4294, allocations: 3.308 MB / 0.6213 GB, free: 12.9 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01199/0.4413, allocations: 4.992 MB / 0.6262 GB, free: 7.891 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02929/0.4706, allocations: 22.09 MB / 0.6478 GB, free: 1.734 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.235e-06/0.4707, allocations: 0 / 0.6478 GB, free: 1.734 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.4707, allocations: 0 / 0.6478 GB, free: 1.734 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0007041/0.4714, allocations: 0 / 0.6478 GB, free: 1.734 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.04544/0.5168, allocations: 13.93 MB / 0.6614 GB, free: 3.711 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.468e-05/0.5169, allocations: 8.031 kB / 0.6614 GB, free: 3.703 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007391/0.5243, allocations: 1.574 MB / 0.6629 GB, free: 2.117 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04595/0.5702, allocations: 7.781 MB / 0.6705 GB, free: 10.32 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01757/0.5878, allocations: 6.9 MB / 0.6772 GB, free: 3.348 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001212/0.589, allocations: 0.8148 MB / 0.678 GB, free: 2.531 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004452/0.5934, allocations: 1.055 MB / 0.6791 GB, free: 1.477 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4681/1.062, allocations: 18.04 MB / 0.6967 GB, free: 96.64 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004493/1.062, allocations: 13.2 kB / 0.6967 GB, free: 96.64 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00303/1.065, allocations: 451.8 kB / 0.6971 GB, free: 96.64 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007817/1.066, allocations: 0.575 MB / 0.6977 GB, free: 96.62 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03234/1.098, allocations: 16.19 MB / 0.7135 GB, free: 91.4 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09408/1.192, allocations: 47.85 MB / 0.7602 GB, free: 63.95 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0128/1.205, allocations: 7.582 MB / 0.7676 GB, free: 60.18 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005214/1.21, allocations: 3.407 MB / 0.771 GB, free: 56.78 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005525/1.211, allocations: 128.3 kB / 0.7711 GB, free: 56.65 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.745e-05/1.211, allocations: 94.83 kB / 0.7712 GB, free: 56.55 MB / 494.1 MB Notification: Performance of pre-optimization done (n=492): time 1.034e-05/1.211, allocations: 0 / 0.7712 GB, free: 56.55 MB / 494.1 MB Notification: Performance of matching and sorting (n=492): time 0.02061/1.231, allocations: 10.32 MB / 0.7813 GB, free: 46.17 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.233e-05/1.232, allocations: 133.5 kB / 0.7814 GB, free: 46.02 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00527/1.237, allocations: 3.627 MB / 0.7849 GB, free: 42.49 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008379/1.238, allocations: 105.7 kB / 0.785 GB, free: 42.38 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002055/1.24, allocations: 4.499 MB / 0.7894 GB, free: 38.36 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001676/1.241, allocations: 1.752 MB / 0.7911 GB, free: 36.63 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002999/1.244, allocations: 1.331 MB / 0.7924 GB, free: 35.29 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 3.626e-05/1.244, allocations: 305.1 kB / 0.7927 GB, free: 34.99 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004118/1.249, allocations: 3.28 MB / 0.7959 GB, free: 31.7 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005054/1.254, allocations: 5.619 MB / 0.8014 GB, free: 25.03 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009745/1.263, allocations: 9.535 MB / 0.8107 GB, free: 14.42 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.626e-05/1.263, allocations: 24 kB / 0.8107 GB, free: 14.39 MB / 494.1 MB Notification: Performance of matching and sorting (n=864) (initialization): time 0.01637/1.28, allocations: 10.28 MB / 0.8208 GB, free: 4.062 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001156/1.28, allocations: 36 kB / 0.8208 GB, free: 4.027 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001433/1.28, allocations: 79.94 kB / 0.8209 GB, free: 3.949 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00279/1.283, allocations: 1.082 MB / 0.8219 GB, free: 2.855 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005392/1.288, allocations: 1.533 MB / 0.8234 GB, free: 1.32 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01793/1.306, allocations: 13.05 MB / 0.8362 GB, free: 3.844 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005071/1.311, allocations: 0.8655 MB / 0.837 GB, free: 2.973 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001222/1.312, allocations: 328 kB / 0.8373 GB, free: 2.652 MB / 0.4982 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.008021/1.32, allocations: 4.122 MB / 0.8414 GB, free: 14.52 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00122/1.322, allocations: 413.3 kB / 0.8418 GB, free: 14.11 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01508/1.337, allocations: 7.825 MB / 0.8494 GB, free: 6.227 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01124/1.348, allocations: 6.492 MB / 0.8557 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-05/1.348, allocations: 8 kB / 0.8558 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.473e-05/1.348, allocations: 27.91 kB / 0.8558 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03812/1.386, allocations: 16.99 MB / 0.8724 GB, free: 14.42 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-05/1.386, allocations: 12 kB / 0.8724 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00412/1.39, allocations: 0.9633 MB / 0.8733 GB, free: 13.44 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003006/1.393, allocations: 0.9832 MB / 0.8743 GB, free: 12.45 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007957/1.394, allocations: 132 kB / 0.8744 GB, free: 12.32 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01689/1.411, allocations: 12.74 MB / 0.8869 GB, free: 15.13 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.076e-05/1.411, allocations: 27.88 kB / 0.8869 GB, free: 15.1 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02104/1.432, allocations: 12.13 MB / 0.8987 GB, free: 2.43 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003879/1.436, allocations: 1.101 MB / 0.8998 GB, free: 1.324 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001001/1.437, allocations: 112 kB / 0.8999 GB, free: 1.215 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002912/1.44, allocations: 319.6 kB / 0.9002 GB, free: 0.9023 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008786/1.441, allocations: 431.4 kB / 0.9006 GB, free: 492 kB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003586/1.441, allocations: 172 kB / 0.9008 GB, free: 320 kB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.00403/1.445, allocations: 2.354 MB / 0.9031 GB, free: 13.96 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1.1e-07/1.445, allocations: 0 / 0.9031 GB, free: 13.96 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.007739/1.453, allocations: 2.69 MB / 0.9057 GB, free: 11.26 MB / 0.5763 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.2657/1.719, allocations: 12.88 MB / 0.9183 GB, free: 181.9 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.0129/1.732, allocations: 8.299 MB / 0.9264 GB, free: 180.3 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 2.628e-05/1.732, allocations: 3 kB / 0.9264 GB, free: 180.3 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.005861/1.737, allocations: 3.976 MB / 0.9303 GB, free: 178.6 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005012/1.742, allocations: 0.9349 MB / 0.9312 GB, free: 178.3 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1075/1.85, allocations: 59.7 MB / 0.9895 GB, free: 142.5 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01022/1.86, allocations: 6.574 MB / 0.9959 GB, free: 136.8 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.006211/1.866, allocations: 2.538 MB / 0.9984 GB, free: 134.2 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005365/1.872, allocations: 3.678 MB / 1.002 GB, free: 130.6 MB / 0.5763 GB Notification: Performance of SimCode: time 1.393e-06/1.872, allocations: 0 / 1.002 GB, free: 130.6 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4285/2.3, allocations: 136 MB / 1.135 GB, free: 164 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.6/19.9, allocations: 1.969 kB / 1.135 GB, free: 164 MB / 0.5919 GB " [Timeout remaining time 640] (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: 22.82414075732231] Failed to read output from testmodel.py, exit status != 0: 20.071933495812118 20.082349998 19.608837879 Calling exit ...