Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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.00132/0.00132, allocations: 114.7 kB / 17.6 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] 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.001392/0.001392, allocations: 189.9 kB / 20.78 MB, free: 1.5 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.496/1.496, allocations: 225.6 MB / 249.4 MB, free: 3.32 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.056/1.056, allocations: 175.7 MB / 480.2 MB, free: 2.781 MB / 366.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002134/0.002134, allocations: 71.66 kB / 0.6679 GB, free: 10.97 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1867/0.1888, allocations: 94.52 MB / 0.7602 GB, free: 0.7969 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.009491/0.1983, allocations: 6.336 MB / 0.7664 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006048/0.2043, allocations: 3.266 MB / 0.7696 GB, free: 7.16 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006422/0.205, allocations: 31.81 kB / 0.7696 GB, free: 7.129 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002832/0.2078, allocations: 0.961 MB / 0.7705 GB, free: 6.164 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00141/0.2092, allocations: 497.5 kB / 0.771 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001294/0.2105, allocations: 497.9 kB / 0.7715 GB, free: 5.191 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001512/0.212, allocations: 1.092 MB / 0.7726 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008451/0.2129, allocations: 466.3 kB / 0.773 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008136/0.2137, allocations: 434.4 kB / 0.7734 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008932/0.2146, allocations: 0.4942 MB / 0.7739 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001712/0.2148, allocations: 60 kB / 0.774 GB, free: 2.648 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001097/0.2159, allocations: 498.9 kB / 0.7744 GB, free: 2.16 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004449/0.2163, allocations: 299.1 kB / 0.7747 GB, free: 1.867 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007928/0.2171, allocations: 402 kB / 0.7751 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002417/0.2195, allocations: 1.183 MB / 0.7763 GB, free: 292 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.2195, allocations: 0 / 0.7763 GB, free: 292 kB / 0.5762 GB Notification: Performance of FrontEnd: time 1.683e-06/0.2195, allocations: 0 / 0.7763 GB, free: 292 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.716e-05/0.2196, allocations: 0 / 0.7763 GB, free: 292 kB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.002526/0.2221, allocations: 1.078 MB / 0.7773 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.116e-05/0.2221, allocations: 8.031 kB / 0.7773 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001422/0.2223, allocations: 122.5 kB / 0.7774 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001643/0.2239, allocations: 224.2 kB / 0.7777 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001087/0.225, allocations: 0.581 MB / 0.7782 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.114e-05/0.2251, allocations: 49.61 kB / 0.7783 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001261/0.2252, allocations: 72.31 kB / 0.7783 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001608/0.2268, allocations: 1.026 MB / 0.7793 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.504e-05/0.2268, allocations: 7.938 kB / 0.7793 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.613e-05/0.2269, allocations: 31.98 kB / 0.7794 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.44e-05/0.227, allocations: 65.27 kB / 0.7794 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001177/0.2282, allocations: 0.6957 MB / 0.7801 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005521/0.2337, allocations: 5.738 MB / 0.7857 GB, free: 5.961 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008614/0.2346, allocations: 0.5545 MB / 0.7863 GB, free: 5.363 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008299/0.2354, allocations: 396.6 kB / 0.7866 GB, free: 4.973 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 4.478e-05/0.2354, allocations: 4 kB / 0.7866 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.2355, allocations: 34.56 kB / 0.7867 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=41): time 2.254e-06/0.2355, allocations: 7.938 kB / 0.7867 GB, free: 4.918 MB / 0.5919 GB Notification: Performance of matching and sorting (n=42): time 0.00439/0.2399, allocations: 2.012 MB / 0.7886 GB, free: 2.812 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.835e-05/0.2399, allocations: 55.41 kB / 0.7887 GB, free: 2.746 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005382/0.2404, allocations: 458.8 kB / 0.7891 GB, free: 2.289 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.016e-05/0.2405, allocations: 29.7 kB / 0.7892 GB, free: 2.254 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000298/0.2408, allocations: 400.1 kB / 0.7895 GB, free: 1.859 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001337/0.2409, allocations: 154.7 kB / 0.7897 GB, free: 1.707 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001726/0.2411, allocations: 110.3 kB / 0.7898 GB, free: 1.59 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001767/0.2413, allocations: 366.8 kB / 0.7902 GB, free: 1.223 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003695/0.2416, allocations: 241.1 kB / 0.7904 GB, free: 0.9883 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005345/0.2422, allocations: 449 kB / 0.7908 GB, free: 464 kB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001012/0.2432, allocations: 0.7605 MB / 0.7916 GB, free: 15.6 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.2432, allocations: 0 / 0.7916 GB, free: 15.6 MB / 0.6075 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001879/0.2451, allocations: 1.039 MB / 0.7926 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.54e-05/0.2451, allocations: 9.562 kB / 0.7926 GB, free: 14.53 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.478e-05/0.2451, allocations: 11.94 kB / 0.7926 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001011/0.2461, allocations: 315.2 kB / 0.7929 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003197/0.2464, allocations: 91.83 kB / 0.793 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007701/0.2541, allocations: 7.474 MB / 0.8003 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000455/0.2546, allocations: 28.31 kB / 0.8003 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-05/0.2546, allocations: 27.98 kB / 0.8003 GB, free: 6.016 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (53): * Single equations (assignments): 49 * 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): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003656/0.255, allocations: 249.5 kB / 0.8006 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.726e-05/0.2551, allocations: 67.59 kB / 0.8006 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00175/0.2569, allocations: 0.8846 MB / 0.8015 GB, free: 4.789 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.2569, allocations: 4 kB / 0.8015 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.1e-05/0.2569, allocations: 4 kB / 0.8015 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.2569, allocations: 0 / 0.8015 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00269/0.2596, allocations: 1.665 MB / 0.8031 GB, free: 3.027 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.2596, allocations: 4 kB / 0.8031 GB, free: 3.023 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000174/0.2597, allocations: 43.91 kB / 0.8032 GB, free: 2.98 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009286/0.2607, allocations: 303.6 kB / 0.8035 GB, free: 2.672 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.311e-05/0.2607, allocations: 15.94 kB / 0.8035 GB, free: 2.656 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007649/0.2684, allocations: 7.467 MB / 0.8108 GB, free: 10.63 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.388e-06/0.2684, allocations: 11.97 kB / 0.8108 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001711/0.2701, allocations: 0.9688 MB / 0.8117 GB, free: 9.602 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002488/0.2703, allocations: 176.7 kB / 0.8119 GB, free: 9.41 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.806e-05/0.2704, allocations: 8 kB / 0.8119 GB, free: 9.402 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002757/0.2707, allocations: 35.91 kB / 0.8119 GB, free: 9.367 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000119/0.2708, allocations: 35.89 kB / 0.812 GB, free: 9.332 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.389e-05/0.2708, allocations: 16 kB / 0.812 GB, free: 9.316 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.00035/0.2712, allocations: 310.9 kB / 0.8123 GB, free: 9.016 MB / 0.6231 GB Notification: Performance of sort global known variables: time 9e-08/0.2712, allocations: 0 / 0.8123 GB, free: 9.016 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007752/0.2719, allocations: 192 kB / 0.8125 GB, free: 8.828 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (23): * Single equations (assignments): 19 * 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): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002043/0.274, allocations: 1.535 MB / 0.814 GB, free: 7.234 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002018/0.276, allocations: 1.152 MB / 0.8151 GB, free: 6.031 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.276, allocations: 0 / 0.8151 GB, free: 6.031 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001309/0.2773, allocations: 0.8308 MB / 0.8159 GB, free: 5.148 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001015/0.2783, allocations: 198.1 kB / 0.8161 GB, free: 4.965 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008923/0.2872, allocations: 5.849 MB / 0.8218 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007283/0.288, allocations: 0.9958 MB / 0.8228 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003286/0.2883, allocations: 97.28 kB / 0.8229 GB, free: 13.67 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000282/0.2886, allocations: 227.3 kB / 0.8231 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of SimCode: time 1.132e-06/0.2886, allocations: 0 / 0.8231 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07366/0.3622, allocations: 15.46 MB / 0.8382 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.57/10.93, allocations: 8.859 kB / 0.8382 GB, free: 14.21 MB / 0.6544 GB " [Timeout remaining time 649] (rm -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.fmu > IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.74676531701698] Failed to read output from testmodel.py, exit status != 0: 11.022215411008801 11.039321298 10.816559572 Calling exit ...