Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.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.00165/0.00165, allocations: 114.7 kB / 17.6 MB, free: 4.699 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.001907/0.001907, allocations: 186 kB / 20.78 MB, free: 1.539 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.43/1.43, allocations: 225.6 MB / 249.4 MB, free: 3.16 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.119/1.119, allocations: 175.7 MB / 480.2 MB, free: 2.758 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.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002034/0.002034, allocations: 72.34 kB / 0.6679 GB, free: 10.93 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1813/0.1834, allocations: 94.53 MB / 0.7602 GB, free: 0.7969 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02896/0.2123, allocations: 24.44 MB / 0.7841 GB, free: 8.273 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01445/0.2268, allocations: 6.648 MB / 0.7906 GB, free: 1.605 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003028/0.2298, allocations: 95.56 kB / 0.7907 GB, free: 1.512 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.004675/0.2345, allocations: 1.562 MB / 0.7922 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004798/0.2393, allocations: 1.941 MB / 0.7941 GB, free: 14 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003884/0.2432, allocations: 1.503 MB / 0.7956 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.009015/0.2522, allocations: 6.9 MB / 0.8023 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007579/0.2598, allocations: 3.491 MB / 0.8057 GB, free: 1.988 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005411/0.2652, allocations: 2.874 MB / 0.8085 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00693/0.2721, allocations: 3.739 MB / 0.8122 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.002094/0.2742, allocations: 0.5312 MB / 0.8127 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004489/0.2787, allocations: 1.194 MB / 0.8138 GB, free: 9.629 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.004142/0.2828, allocations: 2.537 MB / 0.8163 GB, free: 7.086 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.005135/0.288, allocations: 2.532 MB / 0.8188 GB, free: 4.543 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01108/0.299, allocations: 8.542 MB / 0.8271 GB, free: 11.97 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.299, allocations: 0 / 0.8271 GB, free: 11.97 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.623e-06/0.299, allocations: 0 / 0.8271 GB, free: 11.97 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001669/0.2992, allocations: 3.938 kB / 0.8271 GB, free: 11.97 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.01046/0.3097, allocations: 4.547 MB / 0.8316 GB, free: 7.348 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.339e-05/0.3097, allocations: 12.03 kB / 0.8316 GB, free: 7.336 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001231/0.311, allocations: 0.5714 MB / 0.8322 GB, free: 6.754 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009013/0.32, allocations: 1.703 MB / 0.8338 GB, free: 5.047 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006884/0.3268, allocations: 2.705 MB / 0.8365 GB, free: 2.289 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002468/0.3271, allocations: 275.7 kB / 0.8367 GB, free: 2.02 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001087/0.3282, allocations: 372.2 kB / 0.8371 GB, free: 1.656 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3656/0.6938, allocations: 7.482 MB / 0.8444 GB, free: 65.67 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001002/0.6939, allocations: 14.64 kB / 0.8444 GB, free: 65.66 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004308/0.6943, allocations: 156.9 kB / 0.8445 GB, free: 65.56 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006788/0.695, allocations: 486.2 kB / 0.845 GB, free: 65.49 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01185/0.7069, allocations: 5.698 MB / 0.8506 GB, free: 63.59 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03162/0.7385, allocations: 31.54 MB / 0.8814 GB, free: 37.87 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002486/0.741, allocations: 2.019 MB / 0.8834 GB, free: 36.8 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00256/0.7435, allocations: 2.108 MB / 0.8854 GB, free: 35.7 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001649/0.7437, allocations: 16.09 kB / 0.8854 GB, free: 35.7 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.198e-05/0.7437, allocations: 52.25 kB / 0.8855 GB, free: 35.64 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=146): time 3.206e-06/0.7437, allocations: 1.438 kB / 0.8855 GB, free: 35.64 MB / 0.6387 GB Notification: Performance of matching and sorting (n=251): time 0.295/1.039, allocations: 76.81 MB / 0.9605 GB, free: 13.11 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.306e-05/1.039, allocations: 77.41 kB / 0.9606 GB, free: 13.02 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002719/1.042, allocations: 1.67 MB / 0.9622 GB, free: 11.3 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0004546/1.042, allocations: 65.7 kB / 0.9623 GB, free: 11.23 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001395/1.043, allocations: 1.807 MB / 0.964 GB, free: 9.414 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.001158/1.045, allocations: 0.886 MB / 0.9649 GB, free: 8.539 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001245/1.046, allocations: 489.4 kB / 0.9653 GB, free: 8.055 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001191/1.046, allocations: 301.1 kB / 0.9656 GB, free: 7.758 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004179/1.05, allocations: 2.726 MB / 0.9683 GB, free: 5.027 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004619/1.055, allocations: 3.332 MB / 0.9716 GB, free: 1.453 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009597/1.064, allocations: 6.397 MB / 0.9778 GB, free: 10.82 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.226e-05/1.064, allocations: 8 kB / 0.9778 GB, free: 10.81 MB / 0.7012 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03528/1.1, allocations: 14.4 MB / 0.9919 GB, free: 12.36 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.836e-05/1.1, allocations: 20.19 kB / 0.9919 GB, free: 12.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.934e-05/1.1, allocations: 20 kB / 0.9919 GB, free: 12.32 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03079/1.13, allocations: 9.236 MB / 1.001 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001254/1.132, allocations: 299.5 kB / 1.001 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08877/1.22, allocations: 52.42 MB / 1.052 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003119/1.224, allocations: 219.7 kB / 1.053 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005496/1.224, allocations: 99.98 kB / 1.053 GB, free: 13.18 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003181/1.227, allocations: 1.589 MB / 1.054 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007695/1.228, allocations: 254.6 kB / 1.055 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03603/1.264, allocations: 14.47 MB / 1.069 GB, free: 12.8 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-05/1.264, allocations: 24 kB / 1.069 GB, free: 12.77 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001431/1.264, allocations: 44 kB / 1.069 GB, free: 12.73 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-05/1.264, allocations: 15.89 kB / 1.069 GB, free: 12.71 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0474/1.312, allocations: 20.24 MB / 1.088 GB, free: 8.273 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-05/1.312, allocations: 8 kB / 1.088 GB, free: 8.266 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008816/1.313, allocations: 163.7 kB / 1.089 GB, free: 8.105 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03095/1.344, allocations: 9 MB / 1.097 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004348/1.344, allocations: 51.94 kB / 1.097 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08668/1.431, allocations: 51.97 MB / 1.148 GB, free: 10.19 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.518e-06/1.431, allocations: 11.94 kB / 1.148 GB, free: 10.18 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03407/1.465, allocations: 14.09 MB / 1.162 GB, free: 11.95 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002206/1.467, allocations: 0.8585 MB / 1.163 GB, free: 11.07 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005556/1.468, allocations: 52 kB / 1.163 GB, free: 11.02 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002288/1.47, allocations: 207.7 kB / 1.163 GB, free: 10.81 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001257/1.471, allocations: 245.4 kB / 1.163 GB, free: 10.57 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002296/1.471, allocations: 68 kB / 1.163 GB, free: 10.5 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001676/1.473, allocations: 1.121 MB / 1.164 GB, free: 9.359 MB / 0.8887 GB Notification: Performance of sort global known variables: time 8e-08/1.473, allocations: 336 / 1.164 GB, free: 9.359 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.004759/1.478, allocations: 1.613 MB / 1.166 GB, free: 7.746 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.401/1.879, allocations: 14.7 MB / 1.18 GB, free: 295.8 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.02465/1.903, allocations: 10.2 MB / 1.19 GB, free: 294.7 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.917e-05/1.903, allocations: 1.5 kB / 1.19 GB, free: 294.7 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.01774/1.921, allocations: 7.006 MB / 1.197 GB, free: 293.5 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002916/1.924, allocations: 0.5505 MB / 1.198 GB, free: 293.3 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08841/2.013, allocations: 50.52 MB / 1.247 GB, free: 263.8 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004661/2.017, allocations: 3.224 MB / 1.25 GB, free: 260.6 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.001087/2.018, allocations: 395.3 kB / 1.251 GB, free: 260.2 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00156/2.02, allocations: 1.46 MB / 1.252 GB, free: 258.7 MB / 0.8887 GB Notification: Performance of SimCode: time 1.422e-06/2.02, allocations: 4 kB / 1.252 GB, free: 258.7 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1664/2.186, allocations: 122.8 MB / 1.372 GB, free: 136.4 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.26/17.44, allocations: 7.266 kB / 1.372 GB, free: 136.4 MB / 0.8887 GB " [Timeout remaining time 642] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_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_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 21.375849816016853] Failed to read output from testmodel.py, exit status != 0: 17.57615286897635 17.591098825 17.288802888 Calling exit ...