Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.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.0009051/0.0009051, allocations: 105.9 kB / 18.93 MB, free: 1.27 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.0008489/0.0008489, allocations: 219.1 kB / 22.26 MB, free: 3.699 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 0.9167/0.9167, allocations: 230.6 MB / 256 MB, free: 9.797 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.772/0.772, allocations: 203.8 MB / 0.5042 GB, free: 10.71 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_med,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_Transmission_Functions_Validation_SelectCable_med",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_Transmission_Functions_Validation_SelectCable_med",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.0009619/0.0009619, allocations: 65.5 kB / 0.7182 GB, free: 4.332 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4492/0.4502, allocations: 102 MB / 0.8178 GB, free: 1.238 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.001838/0.452, allocations: 1.45 MB / 0.8193 GB, free: 236 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002504/0.4546, allocations: 2.707 MB / 0.8219 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.109e-05/0.4546, allocations: 0 / 0.8219 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.00131/0.4559, allocations: 0.594 MB / 0.8225 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.255e-05/0.4559, allocations: 23.8 kB / 0.8225 GB, free: 14 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 3.737e-06/0.4559, allocations: 0 / 0.8225 GB, free: 14 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002125/0.4562, allocations: 154.9 kB / 0.8227 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.733e-05/0.4562, allocations: 17 kB / 0.8227 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.13e-05/0.4563, allocations: 65.58 kB / 0.8227 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001117/0.4564, allocations: 81.02 kB / 0.8228 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.117e-05/0.4564, allocations: 2 kB / 0.8228 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007178/0.4571, allocations: 474 kB / 0.8233 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.822e-05/0.4572, allocations: 34.83 kB / 0.8233 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.61e-05/0.4572, allocations: 99.33 kB / 0.8234 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000511/0.4577, allocations: 446.8 kB / 0.8238 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.4578, allocations: 0 / 0.8238 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.474e-06/0.4578, allocations: 1.281 kB / 0.8238 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.845e-06/0.4578, allocations: 0 / 0.8238 GB, free: 13.49 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.0006305/0.4584, allocations: 495 kB / 0.8243 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.4584, allocations: 10.28 kB / 0.8243 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.997e-05/0.4585, allocations: 106 kB / 0.8244 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001066/0.4586, allocations: 104.4 kB / 0.8245 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001798/0.4588, allocations: 243.3 kB / 0.8247 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.034e-05/0.4588, allocations: 153.2 kB / 0.8249 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.458e-05/0.4588, allocations: 161.6 kB / 0.825 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.095e-05/0.4589, allocations: 105.5 kB / 0.8251 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.158e-05/0.4589, allocations: 79.22 kB / 0.8252 GB, free: 12.17 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.121e-05/0.459, allocations: 156.7 kB / 0.8254 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.485e-05/0.459, allocations: 150.6 kB / 0.8255 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.653e-05/0.459, allocations: 159.4 kB / 0.8257 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002818/0.4593, allocations: 0.5075 MB / 0.8262 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.629e-05/0.4594, allocations: 167.2 kB / 0.8263 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.628e-05/0.4594, allocations: 80.14 kB / 0.8264 GB, free: 10.97 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.971e-05/0.4594, allocations: 79.22 kB / 0.8265 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.412e-05/0.4595, allocations: 116 kB / 0.8266 GB, free: 10.77 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 7.92e-07/0.4595, allocations: 0 / 0.8266 GB, free: 10.77 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 0.0001269/0.4596, allocations: 59.22 kB / 0.8266 GB, free: 10.72 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.531e-05/0.4596, allocations: 128.6 kB / 0.8268 GB, free: 10.58 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003668/0.46, allocations: 431.4 kB / 0.8272 GB, free: 10.37 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.869e-06/0.46, allocations: 25.7 kB / 0.8272 GB, free: 10.34 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.582e-05/0.4601, allocations: 135 kB / 0.8273 GB, free: 10.22 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.525e-06/0.4601, allocations: 0 / 0.8273 GB, free: 10.22 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.663e-05/0.4602, allocations: 97.95 kB / 0.8274 GB, free: 10.17 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001/0.4603, allocations: 336.9 kB / 0.8277 GB, free: 9.852 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.714e-05/0.4604, allocations: 99.03 kB / 0.8278 GB, free: 9.816 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001362/0.4605, allocations: 165.2 kB / 0.828 GB, free: 9.715 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002613/0.4608, allocations: 301.9 kB / 0.8283 GB, free: 9.566 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.4608, allocations: 1.5 kB / 0.8283 GB, free: 9.566 MB / 0.6198 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0004227/0.4612, allocations: 329.7 kB / 0.8286 GB, free: 9.426 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.4612, allocations: 11.34 kB / 0.8286 GB, free: 9.422 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.4612, allocations: 1.281 kB / 0.8286 GB, free: 9.422 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.4612, allocations: 2.812 kB / 0.8286 GB, free: 9.422 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.575e-06/0.4612, allocations: 2.172 kB / 0.8286 GB, free: 9.422 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.4613, allocations: 8.672 kB / 0.8286 GB, free: 9.418 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001063/0.4614, allocations: 47 kB / 0.8287 GB, free: 9.379 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.706e-06/0.4614, allocations: 5.656 kB / 0.8287 GB, free: 9.379 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.0002074/0.4616, allocations: 243.1 kB / 0.8289 GB, free: 9.176 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.06e-05/0.4616, allocations: 136.6 kB / 0.829 GB, free: 9.043 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.913e-05/0.4617, allocations: 121.2 kB / 0.8291 GB, free: 8.922 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.437e-05/0.4617, allocations: 181 kB / 0.8293 GB, free: 8.738 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.701e-05/0.4618, allocations: 178 kB / 0.8295 GB, free: 8.559 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.451e-05/0.4618, allocations: 184.9 kB / 0.8297 GB, free: 8.371 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002225/0.462, allocations: 445.1 kB / 0.8301 GB, free: 7.941 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.682e-05/0.4621, allocations: 109.4 kB / 0.8302 GB, free: 7.832 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.699e-05/0.4621, allocations: 105.5 kB / 0.8303 GB, free: 7.723 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.896e-05/0.4621, allocations: 188.7 kB / 0.8305 GB, free: 7.531 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.009e-05/0.4622, allocations: 184.7 kB / 0.8306 GB, free: 7.344 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-05/0.4623, allocations: 178.8 kB / 0.8308 GB, free: 7.164 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.808e-05/0.4623, allocations: 185.9 kB / 0.831 GB, free: 6.977 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001173/0.4624, allocations: 327.2 kB / 0.8313 GB, free: 6.645 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.669e-05/0.4625, allocations: 126.2 kB / 0.8314 GB, free: 6.523 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.402e-05/0.4625, allocations: 190.8 kB / 0.8316 GB, free: 6.332 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.6e-05/0.4626, allocations: 107.4 kB / 0.8317 GB, free: 6.223 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.095e-05/0.4627, allocations: 182.4 kB / 0.8319 GB, free: 6.039 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.529e-05/0.4627, allocations: 105.6 kB / 0.832 GB, free: 5.93 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002406/0.4629, allocations: 280.6 kB / 0.8323 GB, free: 5.797 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.4629, allocations: 0 / 0.8323 GB, free: 5.797 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003233/0.4633, allocations: 82.77 kB / 0.8323 GB, free: 5.789 MB / 0.6198 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.0005478/0.4638, allocations: 0.9576 MB / 0.8333 GB, free: 4.914 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001952/0.464, allocations: 122.3 kB / 0.8334 GB, free: 4.871 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.464, allocations: 0 / 0.8334 GB, free: 4.871 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.886e-06/0.464, allocations: 5.312 kB / 0.8334 GB, free: 4.867 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003121/0.4643, allocations: 462.8 kB / 0.8338 GB, free: 4.414 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002664/0.467, allocations: 2.947 MB / 0.8367 GB, free: 2.469 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000302/0.4673, allocations: 0.7775 MB / 0.8375 GB, free: 1.762 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.471e-05/0.4673, allocations: 2.781 kB / 0.8375 GB, free: 1.762 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.33e-05/0.4674, allocations: 55.81 kB / 0.8375 GB, free: 1.715 MB / 0.6198 GB Notification: Performance of SimCode: time 1.232e-06/0.4674, allocations: 0 / 0.8375 GB, free: 1.715 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02479/0.4922, allocations: 6.549 MB / 0.8439 GB, free: 88 kB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.961/7.453, allocations: 4.281 kB / 0.8439 GB, free: 88 kB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_Transmission_Functions_Validation_SelectCable_med_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_Transmission_Functions_Validation_SelectCable_med.fmu > IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.258250512881204] Failed to read output from testmodel.py, exit status != 0: 7.535435412079096 7.551760587 7.091582365 Calling exit ...