Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.DC.Lines.Examples.Resistance.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.0008639/0.0008639, allocations: 76.44 kB / 19.17 MB, free: 0.7383 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.001519/0.001519, allocations: 173.2 kB / 22.46 MB, free: 2.098 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.9039/0.9039, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.7007/0.7007, allocations: 154.6 MB / 413.8 MB, free: 0.7891 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.Resistance,fileNamePrefix="IDEAS_IDEAS_Electrical_DC_Lines_Examples_Resistance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.DC.Lines.Examples.Resistance,fileNamePrefix="IDEAS_IDEAS_Electrical_DC_Lines_Examples_Resistance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.548e-05/2.722e-05, allocations: 4.797 kB / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.Resistance): time 0.004377/0.004404, allocations: 3.019 MB / 0.621 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001996/0.0064, allocations: 1.317 MB / 0.6223 GB, free: 9.309 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001504/0.006551, allocations: 7.938 kB / 0.6223 GB, free: 9.301 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0008752/0.007426, allocations: 334.6 kB / 0.6226 GB, free: 8.973 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0003791/0.007805, allocations: 147.1 kB / 0.6228 GB, free: 8.828 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003888/0.008194, allocations: 143.5 kB / 0.6229 GB, free: 8.688 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0004263/0.00862, allocations: 310.9 kB / 0.6232 GB, free: 8.383 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004268/0.009047, allocations: 188.6 kB / 0.6234 GB, free: 8.199 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002222/0.009269, allocations: 175.6 kB / 0.6236 GB, free: 8.027 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003276/0.009597, allocations: 123.6 kB / 0.6237 GB, free: 7.906 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.47e-05/0.009631, allocations: 20 kB / 0.6237 GB, free: 7.887 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002837/0.009915, allocations: 155.5 kB / 0.6238 GB, free: 7.734 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 9.495e-05/0.01001, allocations: 83.73 kB / 0.6239 GB, free: 7.652 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 8.311e-05/0.01009, allocations: 91.75 kB / 0.624 GB, free: 7.562 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000408/0.0105, allocations: 338.9 kB / 0.6243 GB, free: 7.23 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.01051, allocations: 0 / 0.6243 GB, free: 7.23 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.503e-06/0.01051, allocations: 0 / 0.6243 GB, free: 7.23 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.01051, allocations: 0 / 0.6243 GB, free: 7.23 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0007327/0.01125, allocations: 449.6 kB / 0.6248 GB, free: 6.758 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.01128, allocations: 12.03 kB / 0.6248 GB, free: 6.746 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.669e-05/0.01133, allocations: 54.73 kB / 0.6248 GB, free: 6.684 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003155/0.01165, allocations: 84.72 kB / 0.6249 GB, free: 6.602 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002526/0.0119, allocations: 195.5 kB / 0.6251 GB, free: 6.387 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.01191, allocations: 12.75 kB / 0.6251 GB, free: 6.375 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.972e-05/0.01193, allocations: 16.38 kB / 0.6251 GB, free: 6.359 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003469/0.01228, allocations: 377.3 kB / 0.6255 GB, free: 5.953 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.01229, allocations: 192 / 0.6255 GB, free: 5.953 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.01231, allocations: 12.12 kB / 0.6255 GB, free: 5.941 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.595e-05/0.01233, allocations: 16.36 kB / 0.6255 GB, free: 5.926 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002107/0.01254, allocations: 201 kB / 0.6257 GB, free: 5.73 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008991/0.01344, allocations: 1.016 MB / 0.6267 GB, free: 4.641 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001839/0.01363, allocations: 102.5 kB / 0.6268 GB, free: 4.531 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.742e-05/0.01366, allocations: 32.78 kB / 0.6268 GB, free: 4.496 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 8.146e-06/0.01367, allocations: 8.156 kB / 0.6268 GB, free: 4.488 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.994e-05/0.01369, allocations: 34.5 kB / 0.6269 GB, free: 4.445 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 1.643e-06/0.01369, allocations: 0 / 0.6269 GB, free: 4.445 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.000317/0.01401, allocations: 158.4 kB / 0.627 GB, free: 4.281 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.613e-05/0.01404, allocations: 55.34 kB / 0.6271 GB, free: 4.215 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001357/0.01417, allocations: 200.1 kB / 0.6273 GB, free: 4.012 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.217e-05/0.01419, allocations: 33.7 kB / 0.6273 GB, free: 3.973 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.224e-05/0.01426, allocations: 168 kB / 0.6274 GB, free: 3.805 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.345e-05/0.01427, allocations: 19.86 kB / 0.6275 GB, free: 3.785 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.893e-05/0.01431, allocations: 41.66 kB / 0.6275 GB, free: 3.738 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.742e-05/0.01439, allocations: 330.8 kB / 0.6278 GB, free: 3.406 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.262e-05/0.01443, allocations: 31.98 kB / 0.6278 GB, free: 3.375 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.598e-05/0.0145, allocations: 102.5 kB / 0.6279 GB, free: 3.246 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001197/0.01462, allocations: 160.3 kB / 0.6281 GB, free: 3.059 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.01462, allocations: 0 / 0.6281 GB, free: 3.059 MB / 0.5886 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002123/0.01483, allocations: 186.2 kB / 0.6283 GB, free: 2.867 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.01485, allocations: 8 kB / 0.6283 GB, free: 2.859 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.01485, allocations: 0 / 0.6283 GB, free: 2.859 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001365/0.01499, allocations: 33.12 kB / 0.6283 GB, free: 2.824 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.503e-05/0.01505, allocations: 23.98 kB / 0.6283 GB, free: 2.801 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007705/0.01582, allocations: 1.315 MB / 0.6296 GB, free: 1.375 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.687e-05/0.01589, allocations: 15.89 kB / 0.6296 GB, free: 1.359 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.0159, allocations: 16 kB / 0.6297 GB, free: 1.344 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (17): * Single equations (assignments): 16 * 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 9.275e-05/0.01599, allocations: 147 kB / 0.6298 GB, free: 1.191 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.301e-05/0.01602, allocations: 19.84 kB / 0.6298 GB, free: 1.172 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.702e-05/0.01603, allocations: 17.47 kB / 0.6298 GB, free: 1.152 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-06/0.01604, allocations: 0 / 0.6298 GB, free: 1.152 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.01604, allocations: 4 kB / 0.6298 GB, free: 1.148 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.01604, allocations: 0 / 0.6298 GB, free: 1.148 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003261/0.01637, allocations: 406.2 kB / 0.6302 GB, free: 0.6992 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.01637, allocations: 0 / 0.6302 GB, free: 0.6992 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.934e-05/0.01639, allocations: 8 kB / 0.6302 GB, free: 0.6914 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.71e-05/0.01645, allocations: 28.84 kB / 0.6303 GB, free: 0.6602 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-06/0.01645, allocations: 48 / 0.6303 GB, free: 0.6602 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006102/0.01706, allocations: 1.307 MB / 0.6315 GB, free: 15.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.01706, allocations: 0 / 0.6315 GB, free: 15.23 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001353/0.0172, allocations: 216 kB / 0.6317 GB, free: 15 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.926e-05/0.01723, allocations: 23.89 kB / 0.6318 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.496e-06/0.01724, allocations: 4.156 kB / 0.6318 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.85e-05/0.01729, allocations: 4 kB / 0.6318 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.968e-05/0.01731, allocations: 11.98 kB / 0.6318 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-06/0.01732, allocations: 0 / 0.6318 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.18e-05/0.0174, allocations: 148.3 kB / 0.6319 GB, free: 14.82 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6e-08/0.0174, allocations: 0 / 0.6319 GB, free: 14.82 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002125/0.01761, allocations: 51.89 kB / 0.632 GB, free: 14.77 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 (6): * Single equations (assignments): 5 * 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.000329/0.01794, allocations: 0.7405 MB / 0.6327 GB, free: 14 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002541/0.0182, allocations: 206.5 kB / 0.6329 GB, free: 13.78 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.0182, allocations: 4 kB / 0.6329 GB, free: 13.78 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.799e-05/0.01828, allocations: 146.6 kB / 0.633 GB, free: 13.62 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002433/0.01852, allocations: 32.06 kB / 0.6331 GB, free: 13.59 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00168/0.0202, allocations: 2.05 MB / 0.6351 GB, free: 11.4 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.544e-05/0.02029, allocations: 143.8 kB / 0.6352 GB, free: 11.24 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 6.972e-05/0.02036, allocations: 21.48 kB / 0.6352 GB, free: 11.22 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.857e-05/0.02042, allocations: 52.47 kB / 0.6353 GB, free: 11.17 MB / 0.6042 GB Notification: Performance of SimCode: time 4.11e-07/0.02042, allocations: 4 kB / 0.6353 GB, free: 11.16 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01939/0.03982, allocations: 4.487 MB / 0.6397 GB, free: 6.887 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.812/6.852, allocations: 10.75 kB / 0.6397 GB, free: 6.879 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo IDEAS_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/IDEAS_IDEAS.Electrical.DC.Lines.Examples.Resistance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Electrical_DC_Lines_Examples_Resistance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Electrical_DC_Lines_Examples_Resistance.fmu > IDEAS_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.50849242694676] Failed to read output from testmodel.py, exit status != 0: 6.935875656083226 6.943648433 6.931435073 Calling exit ...