Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.DC.Lines.Examples.RCModel.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.0009192/0.0009192, 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.001327/0.001327, allocations: 170.3 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.9209/0.9209, allocations: 177.1 MB / 202.8 MB, free: 5.766 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.7036/0.7036, 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.DC.Lines.Examples.RCModel,fileNamePrefix="IDEAS_IDEAS_Electrical_DC_Lines_Examples_RCModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.DC.Lines.Examples.RCModel,fileNamePrefix="IDEAS_IDEAS_Electrical_DC_Lines_Examples_RCModel",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.563e-05/1.731e-05, allocations: 3.844 kB / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.RCModel): time 0.00421/0.004227, allocations: 4.207 MB / 0.6222 GB, free: 9.453 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.002287/0.006514, allocations: 1.823 MB / 0.624 GB, free: 7.621 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002523/0.006766, allocations: 15.88 kB / 0.624 GB, free: 7.605 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0009814/0.007748, allocations: 0.5952 MB / 0.6246 GB, free: 7.008 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0005449/0.008293, allocations: 278.2 kB / 0.6248 GB, free: 6.734 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005421/0.008835, allocations: 254.5 kB / 0.6251 GB, free: 6.488 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0005307/0.009365, allocations: 0.6343 MB / 0.6257 GB, free: 5.852 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004569/0.009822, allocations: 343.1 kB / 0.626 GB, free: 5.52 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002866/0.01011, allocations: 347.2 kB / 0.6263 GB, free: 5.18 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000375/0.01048, allocations: 243.3 kB / 0.6266 GB, free: 4.941 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 4.464e-05/0.01053, allocations: 36 kB / 0.6266 GB, free: 4.906 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002923/0.01082, allocations: 239.3 kB / 0.6268 GB, free: 4.672 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001295/0.01095, allocations: 163.5 kB / 0.627 GB, free: 4.512 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001197/0.01107, allocations: 159.6 kB / 0.6271 GB, free: 4.355 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0005905/0.01166, allocations: 0.6231 MB / 0.6278 GB, free: 3.73 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.01166, allocations: 0 / 0.6278 GB, free: 3.73 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.313e-06/0.01167, allocations: 0 / 0.6278 GB, free: 3.73 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 9.689e-06/0.01167, allocations: 0 / 0.6278 GB, free: 3.73 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001051/0.01273, allocations: 0.6609 MB / 0.6284 GB, free: 3.035 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.01276, allocations: 8.031 kB / 0.6284 GB, free: 3.027 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.024e-05/0.01282, allocations: 78.7 kB / 0.6285 GB, free: 2.941 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004853/0.01331, allocations: 148.5 kB / 0.6286 GB, free: 2.797 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003296/0.01364, allocations: 284.5 kB / 0.6289 GB, free: 2.496 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.023e-05/0.01366, allocations: 21.38 kB / 0.6289 GB, free: 2.477 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.547e-05/0.01371, allocations: 40.36 kB / 0.629 GB, free: 2.438 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005594/0.01426, allocations: 0.6787 MB / 0.6296 GB, free: 1.688 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.01428, allocations: 192 / 0.6296 GB, free: 1.688 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.822e-05/0.0143, allocations: 20.11 kB / 0.6296 GB, free: 1.668 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.729e-05/0.01434, allocations: 32.64 kB / 0.6297 GB, free: 1.637 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004005/0.01474, allocations: 390.2 kB / 0.63 GB, free: 1.258 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001454/0.0162, allocations: 1.726 MB / 0.6317 GB, free: 15.45 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003475/0.01654, allocations: 252.6 kB / 0.632 GB, free: 15.2 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.712e-05/0.01664, allocations: 92.81 kB / 0.6321 GB, free: 15.1 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.072e-05/0.01665, allocations: 0 / 0.6321 GB, free: 15.1 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/0.01667, allocations: 38.56 kB / 0.6321 GB, free: 15.05 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=20): time 1.272e-06/0.01667, allocations: 0 / 0.6321 GB, free: 15.05 MB / 0.6042 GB Notification: Performance of matching and sorting (n=23): time 0.001272/0.01795, allocations: 0.901 MB / 0.633 GB, free: 14.11 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.736e-05/0.01797, allocations: 55.41 kB / 0.633 GB, free: 14.05 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002042/0.01818, allocations: 308.4 kB / 0.6333 GB, free: 13.75 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.01819, allocations: 25.7 kB / 0.6333 GB, free: 13.71 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.0183, allocations: 240.1 kB / 0.6336 GB, free: 13.48 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.179e-05/0.01834, allocations: 83.2 kB / 0.6337 GB, free: 13.39 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.517e-05/0.01841, allocations: 65.98 kB / 0.6337 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.311e-05/0.0185, allocations: 346.7 kB / 0.634 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001072/0.01861, allocations: 96.61 kB / 0.6341 GB, free: 12.88 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001443/0.01875, allocations: 196.7 kB / 0.6343 GB, free: 12.65 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003919/0.01914, allocations: 313.8 kB / 0.6346 GB, free: 12.31 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.01915, allocations: 4 kB / 0.6346 GB, free: 12.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004411/0.01959, allocations: 449.8 kB / 0.6351 GB, free: 11.85 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.0196, allocations: 4 kB / 0.6351 GB, free: 11.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.01961, allocations: 4 kB / 0.6351 GB, free: 11.84 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002024/0.01981, allocations: 102.8 kB / 0.6352 GB, free: 11.73 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001423/0.01995, allocations: 59.91 kB / 0.6352 GB, free: 11.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001878/0.02183, allocations: 4.077 MB / 0.6392 GB, free: 7.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000102/0.02193, allocations: 8 kB / 0.6392 GB, free: 7.242 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.404e-05/0.02195, allocations: 12.28 kB / 0.6392 GB, free: 7.23 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001235/0.02207, allocations: 185.7 kB / 0.6394 GB, free: 7.039 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.395e-05/0.0221, allocations: 31.81 kB / 0.6394 GB, free: 7.008 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.149e-05/0.02213, allocations: 38.34 kB / 0.6395 GB, free: 6.969 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.02214, allocations: 4 kB / 0.6395 GB, free: 6.965 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.02214, allocations: 4 kB / 0.6395 GB, free: 6.961 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.02214, allocations: 4 kB / 0.6395 GB, free: 6.957 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002626/0.02241, allocations: 340.6 kB / 0.6398 GB, free: 6.582 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.02241, allocations: 3.938 kB / 0.6398 GB, free: 6.578 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.776e-05/0.02251, allocations: 35.92 kB / 0.6398 GB, free: 6.543 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001562/0.02266, allocations: 94.5 kB / 0.6399 GB, free: 6.441 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.02267, allocations: 3.938 kB / 0.6399 GB, free: 6.438 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00194/0.02461, allocations: 4.05 MB / 0.6439 GB, free: 2.043 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.02461, allocations: 12.09 kB / 0.6439 GB, free: 2.031 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004715/0.02509, allocations: 0.5521 MB / 0.6444 GB, free: 1.453 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.682e-05/0.02515, allocations: 47.81 kB / 0.6445 GB, free: 1.406 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.844e-05/0.02517, allocations: 8 kB / 0.6445 GB, free: 1.398 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.94e-05/0.02527, allocations: 11.98 kB / 0.6445 GB, free: 1.387 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.331e-05/0.0253, allocations: 19.83 kB / 0.6445 GB, free: 1.367 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.398e-06/0.02531, allocations: 8 kB / 0.6445 GB, free: 1.359 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001311/0.02544, allocations: 215.1 kB / 0.6447 GB, free: 1.152 MB / 0.6042 GB Notification: Performance of sort global known variables: time 8e-08/0.02544, allocations: 0 / 0.6447 GB, free: 1.152 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002778/0.02572, allocations: 100 kB / 0.6448 GB, free: 1.055 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (RC_dyn.Vc) * 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 (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006642/0.02639, allocations: 1.093 MB / 0.6459 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004962/0.02688, allocations: 0.5895 MB / 0.6465 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.02688, allocations: 0 / 0.6465 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002491/0.02713, allocations: 472.5 kB / 0.6469 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003162/0.02745, allocations: 74.36 kB / 0.647 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002819/0.03027, allocations: 3.354 MB / 0.6503 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001516/0.03042, allocations: 228.7 kB / 0.6505 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001253/0.03055, allocations: 58.94 kB / 0.6505 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001108/0.03066, allocations: 108.5 kB / 0.6507 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of SimCode: time 7.41e-07/0.03066, allocations: 0 / 0.6507 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02637/0.05703, allocations: 8.884 MB / 0.6593 GB, free: 2.18 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.905/6.962, allocations: 5.25 kB / 0.6593 GB, free: 2.176 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo IDEAS_IDEAS.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/IDEAS_IDEAS.Electrical.DC.Lines.Examples.RCModel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Electrical_DC_Lines_Examples_RCModel_fmu --startTime=0 --stopTime=15 --stepSize=0.006 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Electrical_DC_Lines_Examples_RCModel.fmu > IDEAS_IDEAS.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.678193329833448] Failed to read output from testmodel.py, exit status != 0: 7.047960079275072 7.056059182 7.042772454 Calling exit ...