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.001299/0.001299, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.468/1.468, allocations: 230.6 MB / 252.7 MB, free: 8.277 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.001576/0.001576, allocations: 210.6 kB / 309.2 MB, free: 3.125 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.04233/0.04233, allocations: 8.914 MB / 374.6 MB, free: 1.883 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.002462/0.002462, allocations: 82.81 kB / 0.4892 GB, free: 4.551 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1203, allocations: 55.63 MB / 0.5435 GB, free: 5.02 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.EquivalentCircuit): time 0.02249/0.1428, allocations: 19.03 MB / 0.5621 GB, free: 1.898 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01264/0.1554, allocations: 5.136 MB / 0.5671 GB, free: 12.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005059/0.1605, allocations: 183.1 kB / 0.5673 GB, free: 12.57 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02017/0.1807, allocations: 8.316 MB / 0.5754 GB, free: 4.234 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007973/0.1886, allocations: 2.226 MB / 0.5776 GB, free: 2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00503/0.1937, allocations: 1.64 MB / 0.5792 GB, free: 372 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01768/0.2114, allocations: 10.92 MB / 0.5899 GB, free: 5.406 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03526/0.2466, allocations: 16.38 MB / 0.6059 GB, free: 4.824 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009519/0.2561, allocations: 6.208 MB / 0.6119 GB, free: 14.6 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01128/0.2674, allocations: 6.86 MB / 0.6186 GB, free: 7.719 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004362/0.2718, allocations: 1.625 MB / 0.6202 GB, free: 6.094 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005976/0.2778, allocations: 1.929 MB / 0.6221 GB, free: 4.164 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005281/0.283, allocations: 3.308 MB / 0.6253 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.012/0.295, allocations: 6.401 MB / 0.6316 GB, free: 10.42 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02807/0.3231, allocations: 21.98 MB / 0.653 GB, free: 4.371 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.3231, allocations: 4 kB / 0.653 GB, free: 4.367 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3231, allocations: 0 / 0.653 GB, free: 4.367 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0006633/0.3238, allocations: 4 kB / 0.653 GB, free: 4.363 MB / 462.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.4674/0.7912, allocations: 13.93 MB / 0.6666 GB, free: 87.35 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.061e-05/0.7912, allocations: 10.53 kB / 0.6667 GB, free: 87.35 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008111/0.7994, allocations: 1.569 MB / 0.6682 GB, free: 86.25 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04272/0.8421, allocations: 7.78 MB / 0.6758 GB, free: 82.77 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01616/0.8582, allocations: 6.899 MB / 0.6825 GB, free: 77.86 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008354/0.8591, allocations: 0.8181 MB / 0.6833 GB, free: 77.05 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005968/0.865, allocations: 1.057 MB / 0.6844 GB, free: 76 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0398/0.9048, allocations: 17.82 MB / 0.7018 GB, free: 58.16 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004454/0.9053, allocations: 7.953 kB / 0.7018 GB, free: 58.15 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003095/0.9084, allocations: 455.3 kB / 0.7022 GB, free: 57.71 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004461/0.9088, allocations: 0.5735 MB / 0.7028 GB, free: 57.14 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02704/0.9359, allocations: 16.25 MB / 0.7186 GB, free: 40.86 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08337/1.019, allocations: 51.97 MB / 0.7694 GB, free: 4.34 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01475/1.034, allocations: 7.642 MB / 0.7768 GB, free: 13.07 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006223/1.04, allocations: 3.405 MB / 0.7802 GB, free: 9.652 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000553/1.041, allocations: 164.1 kB / 0.7803 GB, free: 9.492 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.429e-05/1.041, allocations: 86.95 kB / 0.7804 GB, free: 9.395 MB / 494.1 MB Notification: Performance of pre-optimization done (n=492): time 6.883e-06/1.041, allocations: 0 / 0.7804 GB, free: 9.395 MB / 494.1 MB Notification: Performance of matching and sorting (n=492): time 0.02458/1.065, allocations: 10.33 MB / 0.7905 GB, free: 15.01 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001041/1.066, allocations: 129.5 kB / 0.7906 GB, free: 14.87 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006988/1.073, allocations: 3.505 MB / 0.794 GB, free: 11.4 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.0007387/1.073, allocations: 105.7 kB / 0.7941 GB, free: 11.29 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.003816/1.077, allocations: 4.497 MB / 0.7985 GB, free: 6.777 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.002323/1.079, allocations: 1.755 MB / 0.8003 GB, free: 5.008 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003479/1.083, allocations: 1.323 MB / 0.8015 GB, free: 3.676 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 0.0001342/1.083, allocations: 301.1 kB / 0.8018 GB, free: 3.379 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005844/1.089, allocations: 3.284 MB / 0.805 GB, free: 92 kB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00809/1.097, allocations: 5.615 MB / 0.8105 GB, free: 9.422 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01464/1.112, allocations: 9.535 MB / 0.8198 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.695e-05/1.112, allocations: 28 kB / 0.8199 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of matching and sorting (n=864) (initialization): time 0.02087/1.133, allocations: 10.28 MB / 0.8299 GB, free: 4.449 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.99e-05/1.133, allocations: 39.94 kB / 0.8299 GB, free: 4.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001325/1.133, allocations: 76 kB / 0.83 GB, free: 4.336 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003107/1.136, allocations: 1.097 MB / 0.8311 GB, free: 3.23 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005683/1.142, allocations: 1.517 MB / 0.8326 GB, free: 1.711 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01841/1.16, allocations: 13.22 MB / 0.8455 GB, free: 4.047 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005675/1.166, allocations: 0.8616 MB / 0.8463 GB, free: 3.18 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001328/1.167, allocations: 324 kB / 0.8466 GB, free: 2.863 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.009385/1.176, allocations: 4.122 MB / 0.8506 GB, free: 14.72 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001952/1.178, allocations: 413.3 kB / 0.851 GB, free: 14.32 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02684/1.205, allocations: 7.833 MB / 0.8587 GB, free: 6.422 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01921/1.224, allocations: 6.492 MB / 0.865 GB, free: 15.88 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-05/1.224, allocations: 12 kB / 0.865 GB, free: 15.87 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001286/1.225, allocations: 23.91 kB / 0.8651 GB, free: 15.84 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2877/1.512, allocations: 17.6 MB / 0.8823 GB, free: 190.4 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.949e-05/1.512, allocations: 12.88 kB / 0.8823 GB, free: 190.4 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004037/1.516, allocations: 0.9619 MB / 0.8832 GB, free: 190.4 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003101/1.519, allocations: 0.984 MB / 0.8842 GB, free: 190.4 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008018/1.52, allocations: 132.6 kB / 0.8843 GB, free: 190.4 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01347/1.534, allocations: 12.9 MB / 0.8969 GB, free: 183.4 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.35e-05/1.534, allocations: 23.91 kB / 0.8969 GB, free: 183.4 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01705/1.551, allocations: 12.13 MB / 0.9088 GB, free: 178.1 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003207/1.554, allocations: 1.103 MB / 0.9098 GB, free: 177.7 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001055/1.555, allocations: 111 kB / 0.9099 GB, free: 177.7 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00287/1.558, allocations: 312.5 kB / 0.9102 GB, free: 177.6 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008666/1.559, allocations: 427.3 kB / 0.9107 GB, free: 177.5 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003585/1.559, allocations: 173.9 kB / 0.9108 GB, free: 177.5 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.003313/1.563, allocations: 2.36 MB / 0.9131 GB, free: 176.6 MB / 0.5763 GB Notification: Performance of sort global known variables: time 9e-08/1.563, allocations: 0 / 0.9131 GB, free: 176.6 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.007583/1.57, allocations: 2.682 MB / 0.9157 GB, free: 176.1 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.01554/1.586, allocations: 12.9 MB / 0.9283 GB, free: 169.7 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01102/1.597, allocations: 8.295 MB / 0.9364 GB, free: 162.5 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-05/1.597, allocations: 4.844 kB / 0.9364 GB, free: 162.5 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.005084/1.602, allocations: 3.981 MB / 0.9403 GB, free: 159.1 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004478/1.606, allocations: 0.9507 MB / 0.9413 GB, free: 158.2 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08629/1.693, allocations: 59.75 MB / 0.9996 GB, free: 95.19 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01104/1.704, allocations: 7.011 MB / 1.006 GB, free: 88.14 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.006461/1.71, allocations: 2.544 MB / 1.009 GB, free: 85.59 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005428/1.715, allocations: 3.67 MB / 1.013 GB, free: 81.92 MB / 0.5763 GB Notification: Performance of SimCode: time 1.313e-06/1.715, allocations: 7.5 kB / 1.013 GB, free: 81.92 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4746/2.19, allocations: 140.2 MB / 1.149 GB, free: 187.7 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.99/24.18, allocations: 16.14 kB / 1.149 GB, free: 187.7 MB / 0.5919 GB " [Timeout remaining time 636] (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: 27.274974779924378] Failed to read output from testmodel.py, exit status != 0: 24.35372553905472 24.365516588 24.039661951 Calling exit ...