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.0008158/0.0008158, 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.001203/0.001203, allocations: 165.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.8926/0.8926, 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.7095/0.7095, allocations: 154.6 MB / 413.8 MB, free: 0.8008 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.282e-06/1.282e-06, allocations: 0 / 0.6181 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.505e-05/1.633e-05, allocations: 6.5 kB / 0.6181 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Loads.Examples.Resistor): time 0.003391/0.003407, allocations: 3.735 MB / 0.6217 GB, free: 9.973 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001797/0.005204, allocations: 1.686 MB / 0.6234 GB, free: 8.277 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001201/0.005324, allocations: 7.938 kB / 0.6234 GB, free: 8.27 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0007208/0.006045, allocations: 0.4902 MB / 0.6239 GB, free: 7.777 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0003563/0.006401, allocations: 242.5 kB / 0.6241 GB, free: 7.539 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003459/0.006747, allocations: 218 kB / 0.6243 GB, free: 7.328 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.00036/0.007107, allocations: 490.2 kB / 0.6248 GB, free: 6.848 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003502/0.007457, allocations: 293.4 kB / 0.625 GB, free: 6.559 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000197/0.007654, allocations: 271.4 kB / 0.6253 GB, free: 6.293 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002623/0.007917, allocations: 199.4 kB / 0.6255 GB, free: 6.098 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.908e-05/0.007946, allocations: 28 kB / 0.6255 GB, free: 6.07 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002295/0.008175, allocations: 223.4 kB / 0.6257 GB, free: 5.852 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 9.579e-05/0.008271, allocations: 139.5 kB / 0.6259 GB, free: 5.715 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 8.145e-05/0.008353, allocations: 119.7 kB / 0.626 GB, free: 5.598 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0004177/0.00877, allocations: 0.514 MB / 0.6265 GB, free: 5.082 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.008773, allocations: 0 / 0.6265 GB, free: 5.082 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.092e-06/0.008774, allocations: 0 / 0.6265 GB, free: 5.082 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.008779, allocations: 0 / 0.6265 GB, free: 5.082 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.0006301/0.009409, allocations: 0.5635 MB / 0.627 GB, free: 4.488 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.009442, allocations: 8.031 kB / 0.627 GB, free: 4.48 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.139e-05/0.009493, allocations: 70.7 kB / 0.6271 GB, free: 4.402 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000446/0.009939, allocations: 136.6 kB / 0.6272 GB, free: 4.27 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002508/0.01019, allocations: 233.2 kB / 0.6275 GB, free: 4.016 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/0.01021, allocations: 21.03 kB / 0.6275 GB, free: 3.992 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.706e-05/0.01023, allocations: 32.31 kB / 0.6275 GB, free: 3.961 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004628/0.0107, allocations: 0.5787 MB / 0.6281 GB, free: 3.32 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.01071, allocations: 192 / 0.6281 GB, free: 3.32 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.269e-05/0.01073, allocations: 16.12 kB / 0.6281 GB, free: 3.305 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.164e-05/0.01076, allocations: 32.64 kB / 0.6281 GB, free: 3.273 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003088/0.01107, allocations: 314.3 kB / 0.6284 GB, free: 2.969 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001209/0.01228, allocations: 1.583 MB / 0.63 GB, free: 1.301 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002274/0.01251, allocations: 158.7 kB / 0.6301 GB, free: 1.137 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001479/0.01265, allocations: 104.7 kB / 0.6302 GB, free: 1.031 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 7.444e-06/0.01266, allocations: 0 / 0.6302 GB, free: 1.031 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.816e-05/0.01268, allocations: 42.5 kB / 0.6303 GB, free: 0.9805 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=14): time 8.92e-07/0.01268, allocations: 0 / 0.6303 GB, free: 0.9805 MB / 0.5886 GB Notification: Performance of matching and sorting (n=14): time 0.000354/0.01304, allocations: 222.5 kB / 0.6305 GB, free: 0.7539 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.348e-05/0.01306, allocations: 51.41 kB / 0.6305 GB, free: 0.6914 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000174/0.01323, allocations: 273.8 kB / 0.6308 GB, free: 432 kB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.328e-05/0.01325, allocations: 33.7 kB / 0.6308 GB, free: 392 kB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.831e-05/0.01332, allocations: 204.3 kB / 0.631 GB, free: 184 kB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.649e-05/0.01335, allocations: 63.45 kB / 0.6311 GB, free: 120 kB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.787e-05/0.0134, allocations: 45.89 kB / 0.6311 GB, free: 64 kB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.857e-05/0.01349, allocations: 342.8 kB / 0.6314 GB, free: 15.72 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.317e-05/0.01355, allocations: 56.38 kB / 0.6315 GB, free: 15.66 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.545e-05/0.01365, allocations: 145.7 kB / 0.6316 GB, free: 15.48 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001664/0.01381, allocations: 213.9 kB / 0.6318 GB, free: 15.24 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.01381, allocations: 4 kB / 0.6318 GB, free: 15.23 MB / 0.6042 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002489/0.01406, allocations: 266.1 kB / 0.6321 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.01408, allocations: 8 kB / 0.6321 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.01408, allocations: 4 kB / 0.6321 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001105/0.01419, allocations: 28.78 kB / 0.6321 GB, free: 14.92 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.01429, allocations: 47.92 kB / 0.6322 GB, free: 14.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006372/0.01493, allocations: 1.323 MB / 0.6335 GB, free: 13.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.556e-05/0.01502, allocations: 27.78 kB / 0.6335 GB, free: 13.41 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.927e-06/0.01502, allocations: 8 kB / 0.6335 GB, free: 13.41 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.0001058/0.01513, allocations: 166.7 kB / 0.6337 GB, free: 13.23 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.745e-05/0.01516, allocations: 27.8 kB / 0.6337 GB, free: 13.21 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.43e-05/0.01518, allocations: 25.78 kB / 0.6337 GB, free: 13.18 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.01518, allocations: 3.984 kB / 0.6337 GB, free: 13.17 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.01519, allocations: 4.125 kB / 0.6337 GB, free: 13.17 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.01519, allocations: 0 / 0.6337 GB, free: 13.17 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005136/0.0157, allocations: 0.6006 MB / 0.6343 GB, free: 12.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.01571, allocations: 4 kB / 0.6343 GB, free: 12.49 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.26e-05/0.01575, allocations: 23.92 kB / 0.6343 GB, free: 12.47 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.77e-05/0.0158, allocations: 25.03 kB / 0.6344 GB, free: 12.44 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-06/0.0158, allocations: 8 kB / 0.6344 GB, free: 12.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005214/0.01632, allocations: 1.314 MB / 0.6356 GB, free: 11 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.01632, allocations: 0 / 0.6356 GB, free: 11 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002608/0.01659, allocations: 321.2 kB / 0.636 GB, free: 10.65 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.696e-05/0.01663, allocations: 35.84 kB / 0.636 GB, free: 10.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.302e-05/0.01665, allocations: 8.156 kB / 0.636 GB, free: 10.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.435e-05/0.01673, allocations: 15.98 kB / 0.636 GB, free: 10.59 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.944e-05/0.01675, allocations: 15.86 kB / 0.636 GB, free: 10.58 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.046e-05/0.01676, allocations: 16 kB / 0.636 GB, free: 10.56 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001079/0.01687, allocations: 189.2 kB / 0.6362 GB, free: 10.38 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01687, allocations: 0 / 0.6362 GB, free: 10.38 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002286/0.0171, allocations: 75.84 kB / 0.6363 GB, free: 10.3 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.0003484/0.01744, allocations: 0.8533 MB / 0.6371 GB, free: 9.406 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002766/0.01772, allocations: 262.4 kB / 0.6374 GB, free: 9.137 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.01772, allocations: 3.938 kB / 0.6374 GB, free: 9.133 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001037/0.01783, allocations: 175.7 kB / 0.6375 GB, free: 8.949 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002855/0.01811, allocations: 65.47 kB / 0.6376 GB, free: 8.891 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002016/0.02013, allocations: 2.705 MB / 0.6403 GB, free: 5.996 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001135/0.02024, allocations: 182.1 kB / 0.6404 GB, free: 5.797 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 8.743e-05/0.02033, allocations: 42.27 kB / 0.6405 GB, free: 5.754 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.086e-05/0.02041, allocations: 84.47 kB / 0.6405 GB, free: 5.672 MB / 0.6042 GB Notification: Performance of SimCode: time 4.21e-07/0.02041, allocations: 0 / 0.6405 GB, free: 5.672 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02/0.04041, allocations: 6.25 MB / 0.6466 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.908/6.948, allocations: 8.953 kB / 0.6467 GB, free: 15.64 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Electrical_DC_Loads_Examples_Resistor_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.533303800038993] Failed to read output from testmodel.py, exit status != 0: 7.032986872829497 7.043832887 7.033135477 Calling exit ...