Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low.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.001521/0.001521, allocations: 72.45 kB / 19.02 MB, free: 1.105 MB / 13.93 MB " [Timeout remaining time 180] 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.001428/0.001428, allocations: 159.2 kB / 22.29 MB, free: 3.512 MB / 13.93 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.382/1.382, allocations: 177.2 MB / 202.7 MB, free: 4.809 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/package.mo): time 1.251/1.251, allocations: 154.7 MB / 413.8 MB, free: 3.129 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low,fileNamePrefix="IDEAS_IDEAS_Electrical_Transmission_Functions_Validation_SelectCable_low",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low,fileNamePrefix="IDEAS_IDEAS_Electrical_Transmission_Functions_Validation_SelectCable_low",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.003103/0.003103, allocations: 65.67 kB / 0.618 GB, free: 1.121 MB / 0.5105 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.2583/0.2614, allocations: 102 MB / 0.7176 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.00283/0.2643, allocations: 1.42 MB / 0.719 GB, free: 9.832 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002624/0.2669, allocations: 1.745 MB / 0.7207 GB, free: 8.082 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.061e-05/0.2669, allocations: 4 kB / 0.7207 GB, free: 8.078 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001111/0.268, allocations: 350.1 kB / 0.721 GB, free: 7.734 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.004e-05/0.2681, allocations: 19.84 kB / 0.7211 GB, free: 7.715 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 4.519e-06/0.2681, allocations: 0 / 0.7211 GB, free: 7.715 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002342/0.2683, allocations: 123.1 kB / 0.7212 GB, free: 7.594 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.423e-05/0.2684, allocations: 5.688 kB / 0.7212 GB, free: 7.586 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001001/0.2685, allocations: 67.8 kB / 0.7212 GB, free: 7.52 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001394/0.2686, allocations: 63.7 kB / 0.7213 GB, free: 7.457 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.824e-05/0.2686, allocations: 8 kB / 0.7213 GB, free: 7.449 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004456/0.2691, allocations: 175.9 kB / 0.7215 GB, free: 7.277 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.443e-05/0.2691, allocations: 31.84 kB / 0.7215 GB, free: 7.246 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.4e-05/0.2692, allocations: 59.67 kB / 0.7216 GB, free: 7.188 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004686/0.2697, allocations: 299 kB / 0.7219 GB, free: 6.895 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.2697, allocations: 0 / 0.7219 GB, free: 6.895 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.262e-06/0.2697, allocations: 0 / 0.7219 GB, free: 6.895 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.2697, allocations: 0 / 0.7219 GB, free: 6.895 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0007222/0.2704, allocations: 425.2 kB / 0.7223 GB, free: 6.449 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.2705, allocations: 15.97 kB / 0.7223 GB, free: 6.434 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.309e-05/0.2705, allocations: 106 kB / 0.7224 GB, free: 6.32 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001512/0.2707, allocations: 96.12 kB / 0.7225 GB, free: 6.227 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002673/0.271, allocations: 237.1 kB / 0.7227 GB, free: 5.969 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.34e-05/0.271, allocations: 158.9 kB / 0.7228 GB, free: 5.812 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.511e-05/0.2711, allocations: 150.9 kB / 0.723 GB, free: 5.664 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.038e-05/0.2712, allocations: 108.9 kB / 0.7231 GB, free: 5.551 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002545/0.2714, allocations: 79.28 kB / 0.7232 GB, free: 5.473 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.841e-05/0.2715, allocations: 150.6 kB / 0.7233 GB, free: 5.324 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.059e-05/0.2716, allocations: 154.6 kB / 0.7235 GB, free: 5.172 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.669e-05/0.2717, allocations: 154.6 kB / 0.7236 GB, free: 5.02 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000426/0.2721, allocations: 480.8 kB / 0.7241 GB, free: 4.508 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001062/0.2722, allocations: 177.1 kB / 0.7242 GB, free: 4.324 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.351e-05/0.2722, allocations: 80.14 kB / 0.7243 GB, free: 4.242 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.841e-05/0.2723, allocations: 79.22 kB / 0.7244 GB, free: 4.164 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.414e-05/0.2723, allocations: 113.8 kB / 0.7245 GB, free: 4.043 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 6.91e-07/0.2723, allocations: 0 / 0.7245 GB, free: 4.043 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 0.0001609/0.2725, allocations: 45.56 kB / 0.7245 GB, free: 3.992 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.038e-05/0.2726, allocations: 130.7 kB / 0.7247 GB, free: 3.852 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003795/0.273, allocations: 325.6 kB / 0.725 GB, free: 3.527 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.135e-05/0.273, allocations: 29.7 kB / 0.725 GB, free: 3.492 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.607e-05/0.2731, allocations: 116.5 kB / 0.7251 GB, free: 3.375 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.124e-06/0.2731, allocations: 0 / 0.7251 GB, free: 3.375 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.033e-05/0.2731, allocations: 65.67 kB / 0.7252 GB, free: 3.305 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001661/0.2733, allocations: 326.8 kB / 0.7255 GB, free: 2.977 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.954e-05/0.2734, allocations: 67.73 kB / 0.7256 GB, free: 2.91 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001441/0.2736, allocations: 125.9 kB / 0.7257 GB, free: 2.766 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002819/0.2738, allocations: 205.8 kB / 0.7259 GB, free: 2.543 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.2738, allocations: 0 / 0.7259 GB, free: 2.543 MB / 0.6198 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000454/0.2743, allocations: 245.2 kB / 0.7261 GB, free: 2.297 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.2743, allocations: 8.219 kB / 0.7261 GB, free: 2.289 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.2743, allocations: 4 kB / 0.7261 GB, free: 2.285 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.2743, allocations: 4 kB / 0.7261 GB, free: 2.281 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.192e-06/0.2743, allocations: 0 / 0.7261 GB, free: 2.281 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/0.2743, allocations: 4 kB / 0.7261 GB, free: 2.277 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001251/0.2745, allocations: 31.67 kB / 0.7262 GB, free: 2.246 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.129e-05/0.2745, allocations: 4 kB / 0.7262 GB, free: 2.242 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 (cab[1].material,cab[2].material,cab[3].material,cab[4].material,cab[5].material,cab[6].material,cab[7].material) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002684/0.2748, allocations: 229 kB / 0.7264 GB, free: 2.008 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.609e-05/0.2748, allocations: 124.8 kB / 0.7265 GB, free: 1.879 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.26e-05/0.2749, allocations: 117.7 kB / 0.7266 GB, free: 1.754 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.326e-05/0.275, allocations: 180.3 kB / 0.7268 GB, free: 1.57 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.53e-05/0.2751, allocations: 180.3 kB / 0.727 GB, free: 1.387 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.123e-05/0.2752, allocations: 188.1 kB / 0.7271 GB, free: 1.195 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003231/0.2755, allocations: 416.3 kB / 0.7275 GB, free: 0.7383 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6e-05/0.2756, allocations: 116.9 kB / 0.7276 GB, free: 0.6172 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.078e-05/0.2756, allocations: 101 kB / 0.7277 GB, free: 0.5117 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.803e-05/0.2757, allocations: 184.2 kB / 0.7279 GB, free: 332 kB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.948e-05/0.2758, allocations: 176.3 kB / 0.7281 GB, free: 148 kB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001061/0.2759, allocations: 180.3 kB / 0.7283 GB, free: 15.96 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.063e-05/0.276, allocations: 188.2 kB / 0.7284 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001935/0.2762, allocations: 315.7 kB / 0.7287 GB, free: 15.44 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.959e-05/0.2763, allocations: 132.8 kB / 0.7289 GB, free: 15.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000112/0.2764, allocations: 176.3 kB / 0.729 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001592/0.2766, allocations: 109.2 kB / 0.7291 GB, free: 15.01 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.36e-05/0.2767, allocations: 176.3 kB / 0.7293 GB, free: 14.83 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.289e-05/0.2767, allocations: 104.9 kB / 0.7294 GB, free: 14.72 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002344/0.277, allocations: 217.2 kB / 0.7296 GB, free: 14.5 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.41e-07/0.277, allocations: 3.938 kB / 0.7296 GB, free: 14.5 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003826/0.2773, allocations: 63.94 kB / 0.7297 GB, free: 14.44 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009666/0.2783, allocations: 0.918 MB / 0.7306 GB, free: 13.49 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001962/0.2785, allocations: 83.88 kB / 0.7306 GB, free: 13.41 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2785, allocations: 0 / 0.7306 GB, free: 13.41 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.777e-06/0.2785, allocations: 8.375 kB / 0.7307 GB, free: 13.4 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004711/0.279, allocations: 468.1 kB / 0.7311 GB, free: 12.94 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002731/0.2817, allocations: 2.443 MB / 0.7335 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000131/0.2818, allocations: 130.9 kB / 0.7336 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 1.378e-05/0.2819, allocations: 4 kB / 0.7336 GB, free: 10.22 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.529e-05/0.2819, allocations: 32.48 kB / 0.7336 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of SimCode: time 3.2e-07/0.2819, allocations: 0 / 0.7336 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03459/0.3165, allocations: 5.544 MB / 0.7391 GB, free: 4.801 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.7, allocations: 11.98 kB / 0.7391 GB, free: 4.789 MB / 0.6355 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo IDEAS_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/IDEAS_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Electrical_Transmission_Functions_Validation_SelectCable_low_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Electrical_Transmission_Functions_Validation_SelectCable_low.fmu > IDEAS_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.605659920998733] Failed to read output from testmodel.py, exit status != 0: 11.811467966996133 11.841455846 11.566100375 Calling exit ...