Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.DC.Loads.Examples.Resistor.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.0008502/0.0008502, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0009904/0.0009904, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9433/0.9433, allocations: 177.1 MB / 202.8 MB, free: 5.762 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.7233/0.7233, allocations: 154.6 MB / 413.7 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.Loads.Examples.Resistor,fileNamePrefix="IDEAS_IDEAS_Electrical_DC_Loads_Examples_Resistor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.DC.Loads.Examples.Resistor,fileNamePrefix="IDEAS_IDEAS_Electrical_DC_Loads_Examples_Resistor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 0.6181 GB, free: 13.72 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.033e-05/2.225e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Loads.Examples.Resistor): time 0.00517/0.005192, allocations: 3.736 MB / 0.6217 GB, free: 9.961 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001967/0.00716, allocations: 1.686 MB / 0.6234 GB, free: 8.266 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001599/0.00732, allocations: 11.94 kB / 0.6234 GB, free: 8.254 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0007906/0.00811, allocations: 0.4901 MB / 0.6239 GB, free: 7.762 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0004482/0.008558, allocations: 230.6 kB / 0.6241 GB, free: 7.535 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.000408/0.008966, allocations: 218.5 kB / 0.6243 GB, free: 7.324 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0005456/0.009512, allocations: 490.1 kB / 0.6248 GB, free: 6.844 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004927/0.01, allocations: 293.4 kB / 0.625 GB, free: 6.555 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002874/0.01029, allocations: 275.3 kB / 0.6253 GB, free: 6.285 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000305/0.0106, allocations: 199.5 kB / 0.6255 GB, free: 6.09 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.493e-05/0.01063, allocations: 28 kB / 0.6255 GB, free: 6.062 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002778/0.01091, allocations: 223.3 kB / 0.6257 GB, free: 5.844 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001085/0.01102, allocations: 135.6 kB / 0.6259 GB, free: 5.711 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 9.636e-05/0.01111, allocations: 115.8 kB / 0.626 GB, free: 5.598 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0005046/0.01162, allocations: 0.5257 MB / 0.6265 GB, free: 5.07 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.01162, allocations: 0 / 0.6265 GB, free: 5.07 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.453e-06/0.01162, allocations: 0 / 0.6265 GB, free: 5.07 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.01163, allocations: 0 / 0.6265 GB, free: 5.07 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.0007413/0.01237, allocations: 0.5634 MB / 0.627 GB, free: 4.477 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.01241, allocations: 12.03 kB / 0.627 GB, free: 4.465 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.091e-05/0.01246, allocations: 66.72 kB / 0.6271 GB, free: 4.391 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004789/0.01294, allocations: 132.6 kB / 0.6272 GB, free: 4.262 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002907/0.01323, allocations: 241.1 kB / 0.6275 GB, free: 4 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.926e-05/0.01325, allocations: 17.03 kB / 0.6275 GB, free: 3.98 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.031e-05/0.01328, allocations: 32.36 kB / 0.6275 GB, free: 3.949 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005541/0.01383, allocations: 0.5826 MB / 0.6281 GB, free: 3.305 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.01384, allocations: 4.188 kB / 0.6281 GB, free: 3.301 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.38e-05/0.01387, allocations: 16.12 kB / 0.6281 GB, free: 3.285 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.499e-05/0.0139, allocations: 28.58 kB / 0.6281 GB, free: 3.258 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003342/0.01424, allocations: 322.3 kB / 0.6284 GB, free: 2.945 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00135/0.01559, allocations: 1.563 MB / 0.63 GB, free: 1.297 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002476/0.01583, allocations: 162.6 kB / 0.6301 GB, free: 1.129 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001523/0.01599, allocations: 96.75 kB / 0.6302 GB, free: 1.031 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 9.508e-06/0.016, allocations: 4 kB / 0.6302 GB, free: 1.027 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.199e-05/0.01602, allocations: 38.55 kB / 0.6302 GB, free: 0.9805 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=14): time 1.533e-06/0.01602, allocations: 4 kB / 0.6303 GB, free: 0.9766 MB / 0.5886 GB Notification: Performance of matching and sorting (n=14): time 0.0003954/0.01641, allocations: 230.5 kB / 0.6305 GB, free: 0.7422 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.619e-05/0.01644, allocations: 51.41 kB / 0.6305 GB, free: 0.6797 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001914/0.01663, allocations: 273.8 kB / 0.6308 GB, free: 420 kB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.01665, allocations: 29.7 kB / 0.6308 GB, free: 384 kB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 8.486e-05/0.01673, allocations: 204.3 kB / 0.631 GB, free: 176 kB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.444e-05/0.01676, allocations: 55.47 kB / 0.6311 GB, free: 120 kB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.257e-05/0.01681, allocations: 49.89 kB / 0.6311 GB, free: 60 kB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.108e-05/0.0169, allocations: 346.8 kB / 0.6314 GB, free: 15.71 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.555e-05/0.01697, allocations: 52.44 kB / 0.6315 GB, free: 15.66 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001022/0.01707, allocations: 145.7 kB / 0.6316 GB, free: 15.48 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001759/0.01724, allocations: 213.5 kB / 0.6318 GB, free: 15.23 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.01725, allocations: 0 / 0.6318 GB, free: 15.23 MB / 0.6042 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002729/0.01752, allocations: 270.3 kB / 0.6321 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.01753, allocations: 8.031 kB / 0.6321 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/0.01754, allocations: 8.062 kB / 0.6321 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001289/0.01767, allocations: 24.84 kB / 0.6321 GB, free: 14.92 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.01778, allocations: 51.91 kB / 0.6322 GB, free: 14.87 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006989/0.01848, allocations: 1.314 MB / 0.6335 GB, free: 13.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.491e-05/0.01857, allocations: 31.94 kB / 0.6335 GB, free: 13.41 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/0.01858, allocations: 8 kB / 0.6335 GB, free: 13.4 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001094/0.01869, allocations: 162.7 kB / 0.6337 GB, free: 13.23 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.798e-05/0.01872, allocations: 27.8 kB / 0.6337 GB, free: 13.21 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.79e-05/0.01875, allocations: 33.77 kB / 0.6337 GB, free: 13.17 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.01875, allocations: 0 / 0.6337 GB, free: 13.17 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.01875, allocations: 4 kB / 0.6337 GB, free: 13.16 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.01875, allocations: 0 / 0.6337 GB, free: 13.16 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005673/0.01932, allocations: 0.6084 MB / 0.6343 GB, free: 12.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.01932, allocations: 192 / 0.6343 GB, free: 12.48 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.729e-05/0.01937, allocations: 27.98 kB / 0.6343 GB, free: 12.46 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.98e-05/0.01943, allocations: 24.78 kB / 0.6344 GB, free: 12.43 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.01944, allocations: 7.938 kB / 0.6344 GB, free: 12.42 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005867/0.02003, allocations: 1.307 MB / 0.6356 GB, free: 11 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.02003, allocations: 11.97 kB / 0.6357 GB, free: 10.99 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002132/0.02024, allocations: 319.9 kB / 0.636 GB, free: 10.64 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.254e-05/0.0203, allocations: 43.81 kB / 0.636 GB, free: 10.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/0.02031, allocations: 0 / 0.636 GB, free: 10.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.739e-05/0.0204, allocations: 12.16 kB / 0.636 GB, free: 10.59 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.644e-05/0.02042, allocations: 23.91 kB / 0.636 GB, free: 10.56 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.343e-06/0.02043, allocations: 4 kB / 0.636 GB, free: 10.56 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000119/0.02055, allocations: 193.1 kB / 0.6362 GB, free: 10.37 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5e-08/0.02055, allocations: 0 / 0.6362 GB, free: 10.37 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000257/0.02081, allocations: 83.78 kB / 0.6363 GB, free: 10.29 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003871/0.02119, allocations: 0.843 MB / 0.6371 GB, free: 9.398 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003195/0.02151, allocations: 266.4 kB / 0.6374 GB, free: 9.125 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.02152, allocations: 0 / 0.6374 GB, free: 9.125 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001142/0.02163, allocations: 178.5 kB / 0.6375 GB, free: 8.938 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003176/0.02195, allocations: 65.67 kB / 0.6376 GB, free: 8.879 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002042/0.02399, allocations: 2.701 MB / 0.6402 GB, free: 5.988 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001268/0.02412, allocations: 186.1 kB / 0.6404 GB, free: 5.785 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 9.895e-05/0.02421, allocations: 42.2 kB / 0.6405 GB, free: 5.742 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.35e-05/0.0243, allocations: 92.47 kB / 0.6406 GB, free: 5.652 MB / 0.6042 GB Notification: Performance of SimCode: time 5.31e-07/0.0243, allocations: 0 / 0.6406 GB, free: 5.652 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02025/0.04454, allocations: 6.245 MB / 0.6467 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.049/7.093, allocations: 9.75 kB / 0.6467 GB, free: 15.63 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo IDEAS_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/IDEAS_IDEAS.Electrical.DC.Loads.Examples.Resistor.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Electrical.DC.Loads.Examples.Resistor_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Electrical_DC_Loads_Examples_Resistor.fmu > IDEAS_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.990591210313141] Failed to read output from testmodel.py, exit status != 0: 7.177939303219318 7.193069037 7.178422011 Calling exit ...