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.001399/0.001399, allocations: 108.9 kB / 16.46 MB, free: 6.508 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.533/1.533, allocations: 230.6 MB / 249.8 MB, free: 9.238 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.001623/0.001623, allocations: 219.1 kB / 306 MB, free: 4.32 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.04659/0.04659, allocations: 8.912 MB / 371 MB, free: 3.465 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.002574/0.002574, allocations: 90.38 kB / 495.7 MB, free: 4.918 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1123, allocations: 55.57 MB / 0.5384 GB, free: 6.504 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.EquivalentCircuit): time 0.02331/0.1356, allocations: 19.01 MB / 0.557 GB, free: 3.398 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.013/0.1486, allocations: 5.109 MB / 0.5619 GB, free: 14.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004772/0.1534, allocations: 183.1 kB / 0.5621 GB, free: 14.09 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02106/0.1744, allocations: 8.29 MB / 0.5702 GB, free: 5.785 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01006/0.1845, allocations: 2.152 MB / 0.5723 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005673/0.1902, allocations: 1.596 MB / 0.5739 GB, free: 2.031 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01899/0.2091, allocations: 10.82 MB / 0.5844 GB, free: 7.16 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03778/0.2469, allocations: 19.69 MB / 0.6037 GB, free: 3.281 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01152/0.2584, allocations: 6.168 MB / 0.6097 GB, free: 13.1 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01411/0.2726, allocations: 6.853 MB / 0.6164 GB, free: 6.223 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006131/0.2787, allocations: 1.621 MB / 0.618 GB, free: 4.602 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00763/0.2863, allocations: 1.937 MB / 0.6199 GB, free: 2.664 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00591/0.2922, allocations: 3.304 MB / 0.6231 GB, free: 15.35 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01259/0.3048, allocations: 6.389 MB / 0.6293 GB, free: 8.938 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03301/0.3378, allocations: 21.98 MB / 0.6508 GB, free: 2.879 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.436e-06/0.3378, allocations: 0 / 0.6508 GB, free: 2.879 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.3378, allocations: 0 / 0.6508 GB, free: 2.879 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0007846/0.3386, allocations: 0 / 0.6508 GB, free: 2.879 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.459/0.7976, allocations: 14.01 MB / 0.6645 GB, free: 89.16 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/0.7976, allocations: 7.906 kB / 0.6645 GB, free: 89.16 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005952/0.8036, allocations: 1.568 MB / 0.666 GB, free: 88.06 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04338/0.847, allocations: 7.783 MB / 0.6736 GB, free: 84.57 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0125/0.8595, allocations: 6.805 MB / 0.6803 GB, free: 78.89 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006521/0.8601, allocations: 0.8119 MB / 0.6811 GB, free: 78.09 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00394/0.8641, allocations: 1.062 MB / 0.6821 GB, free: 77.04 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04017/0.9042, allocations: 17.81 MB / 0.6995 GB, free: 59.2 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005378/0.9048, allocations: 11.89 kB / 0.6995 GB, free: 59.19 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003773/0.9085, allocations: 455.3 kB / 0.6999 GB, free: 58.76 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004744/0.909, allocations: 0.5735 MB / 0.7005 GB, free: 58.18 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03016/0.9392, allocations: 16.25 MB / 0.7164 GB, free: 41.9 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08524/1.024, allocations: 53.36 MB / 0.7685 GB, free: 3.484 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01969/1.044, allocations: 15.29 MB / 0.7834 GB, free: 2.676 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006346/1.05, allocations: 3.405 MB / 0.7867 GB, free: 15.26 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006371/1.051, allocations: 310.3 kB / 0.787 GB, free: 14.93 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001011/1.051, allocations: 98.77 kB / 0.7871 GB, free: 14.82 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=492): time 7.554e-06/1.051, allocations: 0 / 0.7871 GB, free: 14.82 MB / 0.4982 GB Notification: Performance of matching and sorting (n=492): time 0.02707/1.078, allocations: 10.64 MB / 0.7975 GB, free: 4.047 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001149/1.078, allocations: 129.5 kB / 0.7976 GB, free: 3.902 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007453/1.086, allocations: 3.507 MB / 0.8011 GB, free: 396 kB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.00097/1.087, allocations: 101.7 kB / 0.8012 GB, free: 288 kB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.003679/1.09, allocations: 4.488 MB / 0.8055 GB, free: 11.75 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.002457/1.093, allocations: 1.759 MB / 0.8073 GB, free: 9.98 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003771/1.097, allocations: 1.331 MB / 0.8086 GB, free: 8.641 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001574/1.097, allocations: 305.1 kB / 0.8088 GB, free: 8.34 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006246/1.103, allocations: 3.277 MB / 0.812 GB, free: 5.059 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008977/1.112, allocations: 5.619 MB / 0.8175 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01546/1.128, allocations: 9.543 MB / 0.8269 GB, free: 3.766 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.968e-05/1.128, allocations: 28 kB / 0.8269 GB, free: 3.738 MB / 0.5294 GB Notification: Performance of matching and sorting (n=864) (initialization): time 0.02241/1.15, allocations: 10.28 MB / 0.8369 GB, free: 9.406 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.614e-05/1.15, allocations: 38.81 kB / 0.837 GB, free: 9.371 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001351/1.15, allocations: 80.03 kB / 0.837 GB, free: 9.293 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003475/1.154, allocations: 1.09 MB / 0.8381 GB, free: 8.195 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006282/1.16, allocations: 1.529 MB / 0.8396 GB, free: 6.664 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01958/1.18, allocations: 13.63 MB / 0.8529 GB, free: 8.492 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005809/1.185, allocations: 0.8694 MB / 0.8537 GB, free: 7.617 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001815/1.187, allocations: 320 kB / 0.8541 GB, free: 7.305 MB / 0.5607 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.009198/1.196, allocations: 4.118 MB / 0.8581 GB, free: 3.172 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001578/1.198, allocations: 417.3 kB / 0.8585 GB, free: 2.762 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01779/1.216, allocations: 7.818 MB / 0.8661 GB, free: 10.88 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01421/1.23, allocations: 6.492 MB / 0.8724 GB, free: 4.34 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.426e-05/1.23, allocations: 12 kB / 0.8725 GB, free: 4.328 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001666/1.23, allocations: 23.91 kB / 0.8725 GB, free: 4.305 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3089/1.539, allocations: 17.54 MB / 0.8896 GB, free: 192.5 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.345e-05/1.539, allocations: 17.59 kB / 0.8896 GB, free: 192.5 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003743/1.543, allocations: 0.9593 MB / 0.8906 GB, free: 192.5 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002704/1.546, allocations: 0.9804 MB / 0.8915 GB, free: 192.2 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00081/1.547, allocations: 130.5 kB / 0.8916 GB, free: 192.2 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01305/1.56, allocations: 13.3 MB / 0.9046 GB, free: 183.3 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.706e-05/1.56, allocations: 25.22 kB / 0.9047 GB, free: 183.2 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0189/1.578, allocations: 12.12 MB / 0.9165 GB, free: 177.9 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002947/1.581, allocations: 1.151 MB / 0.9176 GB, free: 177.4 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001386/1.583, allocations: 108.9 kB / 0.9177 GB, free: 177.3 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00338/1.586, allocations: 315.8 kB / 0.918 GB, free: 177.2 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001115/1.587, allocations: 404.9 kB / 0.9184 GB, free: 177.2 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000621/1.588, allocations: 174 kB / 0.9186 GB, free: 177.1 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.004011/1.592, allocations: 2.363 MB / 0.9209 GB, free: 175.6 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1.6e-07/1.592, allocations: 0 / 0.9209 GB, free: 175.6 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.009305/1.601, allocations: 2.685 MB / 0.9235 GB, free: 173.2 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.0199/1.621, allocations: 12.89 MB / 0.9361 GB, free: 161.6 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01415/1.635, allocations: 8.29 MB / 0.9442 GB, free: 153.4 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.972e-05/1.635, allocations: 0 / 0.9442 GB, free: 153.4 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.007145/1.642, allocations: 3.987 MB / 0.9481 GB, free: 149.3 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00803/1.65, allocations: 0.9426 MB / 0.949 GB, free: 148.4 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.108/1.758, allocations: 59.58 MB / 1.007 GB, free: 85.6 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01194/1.77, allocations: 7.005 MB / 1.014 GB, free: 78.55 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.006507/1.777, allocations: 2.542 MB / 1.017 GB, free: 76 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005939/1.783, allocations: 3.67 MB / 1.02 GB, free: 72.33 MB / 0.5763 GB Notification: Performance of SimCode: time 1.423e-06/1.783, allocations: 0 / 1.02 GB, free: 72.33 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5221/2.305, allocations: 133.9 MB / 1.151 GB, free: 171.5 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.93/23.23, allocations: 0.875 kB / 1.151 GB, free: 171.5 MB / 0.5919 GB " [Timeout remaining time 637] (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 & python3 -m fmpy simulate --output-file HanserModelica_HanserModelica.Machines.EquivalentCircuit_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.1 HanserModelica_HanserModelica_Machines_EquivalentCircuit.fmu > HanserModelica_HanserModelica.Machines.EquivalentCircuit.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 26.21070234400395] Failed to read output from testmodel.py, exit status != 0: 23.384393098996952 23.392985198 23.052228276 Calling exit ...