Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001013/0.001013, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0007716/0.0007716, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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.867/0.867, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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 0.7077/0.7077, allocations: 154.6 MB / 413.8 MB, free: 0.8125 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_med,fileNamePrefix="IDEAS_IDEAS_Electrical_Transmission_Functions_Validation_SelectCable_med",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med,fileNamePrefix="IDEAS_IDEAS_Electrical_Transmission_Functions_Validation_SelectCable_med",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 0 / 0.6181 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.704e-05/1.924e-05, allocations: 8.016 kB / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002676/0.002696, allocations: 1.414 MB / 0.6195 GB, free: 12.26 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.003336/0.006032, allocations: 2.394 MB / 0.6218 GB, free: 9.859 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.578e-05/0.006068, allocations: 0 / 0.6218 GB, free: 9.859 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.001637/0.007704, allocations: 0.5542 MB / 0.6223 GB, free: 9.305 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.402e-05/0.007758, allocations: 15.91 kB / 0.6224 GB, free: 9.289 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 4.198e-06/0.007763, allocations: 0 / 0.6224 GB, free: 9.289 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002587/0.008021, allocations: 170.8 kB / 0.6225 GB, free: 9.121 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 7.032e-05/0.008092, allocations: 20.5 kB / 0.6225 GB, free: 9.098 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001224/0.008214, allocations: 83.8 kB / 0.6226 GB, free: 9.016 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001376/0.008352, allocations: 67.77 kB / 0.6227 GB, free: 8.949 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.753e-05/0.008369, allocations: 4 kB / 0.6227 GB, free: 8.945 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008228/0.009192, allocations: 403.4 kB / 0.6231 GB, free: 8.551 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 6.003e-05/0.009252, allocations: 43.77 kB / 0.6231 GB, free: 8.508 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 7.372e-05/0.009326, allocations: 55.86 kB / 0.6232 GB, free: 8.453 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0005942/0.00992, allocations: 454.1 kB / 0.6236 GB, free: 8.008 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.009923, allocations: 0 / 0.6236 GB, free: 8.008 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.525e-06/0.009926, allocations: 3.984 kB / 0.6236 GB, free: 8.004 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.441e-06/0.009931, allocations: 0 / 0.6236 GB, free: 8.004 MB / 0.5886 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.0007063/0.01064, allocations: 484.7 kB / 0.6241 GB, free: 7.496 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.01068, allocations: 12.03 kB / 0.6241 GB, free: 7.484 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.05e-05/0.01073, allocations: 110 kB / 0.6242 GB, free: 7.367 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001493/0.01088, allocations: 100.1 kB / 0.6243 GB, free: 7.27 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002231/0.0111, allocations: 247.8 kB / 0.6245 GB, free: 7.004 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.924e-05/0.01116, allocations: 166.8 kB / 0.6247 GB, free: 6.84 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.316e-05/0.01122, allocations: 154.9 kB / 0.6248 GB, free: 6.688 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.99e-05/0.01128, allocations: 101.5 kB / 0.6249 GB, free: 6.582 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.613e-05/0.0113, allocations: 75.47 kB / 0.625 GB, free: 6.508 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.376e-05/0.01135, allocations: 150.9 kB / 0.6251 GB, free: 6.359 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.443e-05/0.01139, allocations: 158.7 kB / 0.6253 GB, free: 6.203 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.678e-05/0.01144, allocations: 150.6 kB / 0.6254 GB, free: 6.055 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003646/0.0118, allocations: 0.5046 MB / 0.6259 GB, free: 5.508 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.441e-05/0.01188, allocations: 169.1 kB / 0.6261 GB, free: 5.332 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.043e-05/0.01191, allocations: 80.14 kB / 0.6262 GB, free: 5.25 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.393e-05/0.01194, allocations: 83.27 kB / 0.6262 GB, free: 5.168 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.395e-05/0.01198, allocations: 109.8 kB / 0.6263 GB, free: 5.051 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=0): time 1.262e-06/0.01199, allocations: 0 / 0.6263 GB, free: 5.051 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0): time 0.0001706/0.01216, allocations: 61.44 kB / 0.6264 GB, free: 4.984 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.752e-05/0.01221, allocations: 130.6 kB / 0.6265 GB, free: 4.844 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004227/0.01264, allocations: 433.3 kB / 0.6269 GB, free: 4.414 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.331e-05/0.01265, allocations: 29.64 kB / 0.627 GB, free: 4.379 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 8.247e-05/0.01273, allocations: 136.6 kB / 0.6271 GB, free: 4.242 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.625e-06/0.01273, allocations: 4 kB / 0.6271 GB, free: 4.238 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.57e-05/0.01283, allocations: 93.66 kB / 0.6272 GB, free: 4.141 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.01295, allocations: 334.8 kB / 0.6275 GB, free: 3.805 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001217/0.01307, allocations: 100.6 kB / 0.6276 GB, free: 3.707 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001547/0.01322, allocations: 161.9 kB / 0.6278 GB, free: 3.527 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003084/0.01353, allocations: 309.6 kB / 0.6281 GB, free: 3.203 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.01354, allocations: 0 / 0.6281 GB, free: 3.203 MB / 0.5886 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0004989/0.01403, allocations: 333 kB / 0.6284 GB, free: 2.871 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.01405, allocations: 4 kB / 0.6284 GB, free: 2.867 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.01406, allocations: 7.938 kB / 0.6284 GB, free: 2.859 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.01407, allocations: 224 / 0.6284 GB, free: 2.859 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.102e-06/0.01408, allocations: 11.94 kB / 0.6284 GB, free: 2.848 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.01408, allocations: 0 / 0.6284 GB, free: 2.848 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001532/0.01424, allocations: 47.52 kB / 0.6284 GB, free: 2.801 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.01425, allocations: 7.984 kB / 0.6284 GB, free: 2.793 MB / 0.5886 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.0002065/0.01446, allocations: 242 kB / 0.6287 GB, free: 2.547 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.466e-05/0.01453, allocations: 128.8 kB / 0.6288 GB, free: 2.414 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.626e-05/0.01458, allocations: 110.9 kB / 0.6289 GB, free: 2.301 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.487e-05/0.01463, allocations: 180.2 kB / 0.6291 GB, free: 2.117 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.778e-05/0.01469, allocations: 192.3 kB / 0.6293 GB, free: 1.922 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.185e-05/0.01474, allocations: 184.3 kB / 0.6294 GB, free: 1.734 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002797/0.01502, allocations: 440.2 kB / 0.6299 GB, free: 1.254 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-05/0.01506, allocations: 109 kB / 0.63 GB, free: 1.141 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.094e-05/0.01509, allocations: 112.9 kB / 0.6301 GB, free: 1.023 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.442e-05/0.01515, allocations: 180.3 kB / 0.6302 GB, free: 0.8398 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.764e-05/0.01519, allocations: 180.3 kB / 0.6304 GB, free: 0.6562 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.59e-05/0.01523, allocations: 180.2 kB / 0.6306 GB, free: 484 kB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.327e-05/0.01527, allocations: 180.2 kB / 0.6308 GB, free: 296 kB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001046/0.01538, allocations: 331.6 kB / 0.6311 GB, free: 15.94 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.533e-05/0.01542, allocations: 124.8 kB / 0.6312 GB, free: 15.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.181e-05/0.01547, allocations: 184.2 kB / 0.6314 GB, free: 15.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.463e-05/0.01555, allocations: 109 kB / 0.6315 GB, free: 15.51 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.658e-05/0.01561, allocations: 184.1 kB / 0.6316 GB, free: 15.32 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.08e-05/0.01564, allocations: 101 kB / 0.6317 GB, free: 15.22 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001924/0.01583, allocations: 287 kB / 0.632 GB, free: 14.94 MB / 0.6042 GB Notification: Performance of sort global known variables: time 9e-08/0.01583, allocations: 0 / 0.632 GB, free: 14.94 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002492/0.01608, allocations: 83.92 kB / 0.6321 GB, free: 14.86 MB / 0.6042 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.0004419/0.01652, allocations: 0.9528 MB / 0.633 GB, free: 13.88 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001396/0.01666, allocations: 119.9 kB / 0.6331 GB, free: 13.76 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.01666, allocations: 448 / 0.6331 GB, free: 13.76 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.52e-07/0.01666, allocations: 4 kB / 0.6331 GB, free: 13.75 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003873/0.01705, allocations: 473.1 kB / 0.6336 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001935/0.01898, allocations: 2.958 MB / 0.6365 GB, free: 10.21 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.311e-05/0.01908, allocations: 168.1 kB / 0.6366 GB, free: 10.02 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 1.134e-05/0.01909, allocations: 7.938 kB / 0.6367 GB, free: 10.02 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.489e-05/0.01914, allocations: 52.48 kB / 0.6367 GB, free: 9.965 MB / 0.6042 GB Notification: Performance of SimCode: time 7.21e-07/0.01914, allocations: 0 / 0.6367 GB, free: 9.965 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0191/0.03825, allocations: 7.192 MB / 0.6437 GB, free: 2.969 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.731/6.769, allocations: 11.98 kB / 0.6437 GB, free: 2.957 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo IDEAS_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/IDEAS_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Electrical_Transmission_Functions_Validation_SelectCable_med_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Electrical_Transmission_Functions_Validation_SelectCable_med.fmu > IDEAS_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.382558435201645] Failed to read output from testmodel.py, exit status != 0: 6.852213157340884 6.860729027 6.848208338 Calling exit ...