Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.DC.Sources.Examples.VoltageSource.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.001299/0.001299, allocations: 68.47 kB / 19.02 MB, free: 1.137 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.001435/0.001435, allocations: 159.8 kB / 22.29 MB, free: 3.535 MB / 13.93 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 1.42/1.42, allocations: 177.2 MB / 202.7 MB, free: 4.805 MB / 186.7 MB " [Timeout remaining time 178] 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 1.255/1.255, allocations: 154.7 MB / 413.8 MB, free: 3.133 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.Sources.Examples.VoltageSource,fileNamePrefix="IDEAS_IDEAS_Electrical_DC_Sources_Examples_VoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="IDEAS_IDEAS_Electrical_DC_Sources_Examples_VoltageSource",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002074/0.002074, allocations: 66.22 kB / 0.618 GB, free: 1.141 MB / 0.5105 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.191/0.1931, allocations: 102 MB / 0.7176 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Sources.Examples.VoltageSource): time 0.005295/0.1984, allocations: 3.169 MB / 0.7207 GB, free: 8.082 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002655/0.201, allocations: 1.379 MB / 0.7221 GB, free: 6.695 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000203/0.2012, allocations: 7.938 kB / 0.7221 GB, free: 6.688 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001181/0.2024, allocations: 338.6 kB / 0.7224 GB, free: 6.355 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000479/0.2029, allocations: 155.2 kB / 0.7225 GB, free: 6.203 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004826/0.2034, allocations: 159.5 kB / 0.7227 GB, free: 6.047 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004949/0.2039, allocations: 334.6 kB / 0.723 GB, free: 5.719 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004456/0.2043, allocations: 196.1 kB / 0.7232 GB, free: 5.523 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004553/0.2048, allocations: 207.4 kB / 0.7234 GB, free: 5.32 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003528/0.2051, allocations: 151.4 kB / 0.7235 GB, free: 5.172 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.657e-05/0.2052, allocations: 20 kB / 0.7236 GB, free: 5.152 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003494/0.2055, allocations: 159.6 kB / 0.7237 GB, free: 4.996 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001282/0.2056, allocations: 83.73 kB / 0.7238 GB, free: 4.914 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001419/0.2058, allocations: 99.58 kB / 0.7239 GB, free: 4.816 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006063/0.2064, allocations: 366.6 kB / 0.7242 GB, free: 4.457 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.2064, allocations: 3.938 kB / 0.7242 GB, free: 4.453 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.212e-06/0.2064, allocations: 0 / 0.7242 GB, free: 4.453 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.14e-05/0.2064, allocations: 0 / 0.7242 GB, free: 4.453 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001045/0.2075, allocations: 493.4 kB / 0.7247 GB, free: 3.941 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.2075, allocations: 8.031 kB / 0.7247 GB, free: 3.934 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.417e-05/0.2076, allocations: 54.73 kB / 0.7248 GB, free: 3.871 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006745/0.2082, allocations: 100.7 kB / 0.7249 GB, free: 3.773 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003925/0.2086, allocations: 202.8 kB / 0.7251 GB, free: 3.547 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.047e-05/0.2087, allocations: 16.88 kB / 0.7251 GB, free: 3.531 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.87e-05/0.2087, allocations: 24.38 kB / 0.7251 GB, free: 3.508 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006217/0.2093, allocations: 390.4 kB / 0.7255 GB, free: 3.086 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.2093, allocations: 3.938 kB / 0.7255 GB, free: 3.082 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.967e-05/0.2094, allocations: 8 kB / 0.7255 GB, free: 3.074 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.932e-05/0.2094, allocations: 20.48 kB / 0.7255 GB, free: 3.055 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004222/0.2098, allocations: 209.8 kB / 0.7257 GB, free: 2.852 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00162/0.2114, allocations: 1.069 MB / 0.7267 GB, free: 1.711 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004218/0.2119, allocations: 118.6 kB / 0.7269 GB, free: 1.586 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001045/0.212, allocations: 36.84 kB / 0.7269 GB, free: 1.547 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.714e-05/0.212, allocations: 7.922 kB / 0.7269 GB, free: 1.539 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.383e-05/0.212, allocations: 42.56 kB / 0.7269 GB, free: 1.488 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.383e-06/0.212, allocations: 0 / 0.7269 GB, free: 1.488 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0005985/0.2126, allocations: 174.4 kB / 0.7271 GB, free: 1.309 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.366e-05/0.2127, allocations: 59.34 kB / 0.7272 GB, free: 1.238 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002814/0.2129, allocations: 222.6 kB / 0.7274 GB, free: 1.012 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.676e-05/0.213, allocations: 29.7 kB / 0.7274 GB, free: 0.9766 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001384/0.2131, allocations: 179.9 kB / 0.7276 GB, free: 0.7969 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.401e-05/0.2131, allocations: 39.72 kB / 0.7276 GB, free: 0.7578 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.19e-05/0.2132, allocations: 37.67 kB / 0.7276 GB, free: 0.7148 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001628/0.2134, allocations: 326.8 kB / 0.728 GB, free: 396 kB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000113/0.2135, allocations: 43.92 kB / 0.728 GB, free: 352 kB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001727/0.2137, allocations: 112.5 kB / 0.7281 GB, free: 208 kB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002754/0.2139, allocations: 168.4 kB / 0.7283 GB, free: 8 kB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.2139, allocations: 0 / 0.7283 GB, free: 8 kB / 0.6198 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004576/0.2144, allocations: 210.4 kB / 0.7285 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.2144, allocations: 8.062 kB / 0.7285 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.2144, allocations: 7.938 kB / 0.7285 GB, free: 15.78 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001956/0.2146, allocations: 28.78 kB / 0.7285 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000148/0.2148, allocations: 27.98 kB / 0.7285 GB, free: 15.72 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001307/0.2161, allocations: 1.315 MB / 0.7298 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001529/0.2162, allocations: 27.97 kB / 0.7299 GB, free: 14.26 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.952e-05/0.2162, allocations: 8 kB / 0.7299 GB, free: 14.25 MB / 0.6355 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 (18): * Single equations (assignments): 17 * 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.0001615/0.2164, allocations: 149.7 kB / 0.73 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.751e-05/0.2165, allocations: 15.91 kB / 0.73 GB, free: 14.08 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.263e-05/0.2165, allocations: 21.45 kB / 0.73 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.2165, allocations: 3.984 kB / 0.73 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.2165, allocations: 4.062 kB / 0.73 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.171e-05/0.2165, allocations: 4 kB / 0.73 GB, free: 14.04 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007966/0.2173, allocations: 454.2 kB / 0.7305 GB, free: 13.55 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.2173, allocations: 0 / 0.7305 GB, free: 13.55 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.869e-05/0.2174, allocations: 12 kB / 0.7305 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001074/0.2175, allocations: 24.83 kB / 0.7305 GB, free: 13.51 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.2175, allocations: 4 kB / 0.7305 GB, free: 13.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001218/0.2187, allocations: 1.318 MB / 0.7318 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.2187, allocations: 0 / 0.7318 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003736/0.2191, allocations: 244.2 kB / 0.732 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.804e-05/0.2192, allocations: 23.84 kB / 0.7321 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.101e-05/0.2192, allocations: 0 / 0.7321 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001333/0.2193, allocations: 7.984 kB / 0.7321 GB, free: 11.78 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.734e-05/0.2194, allocations: 11.92 kB / 0.7321 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.126e-05/0.2194, allocations: 4 kB / 0.7321 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001798/0.2196, allocations: 151.3 kB / 0.7322 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1e-07/0.2196, allocations: 0 / 0.7322 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003864/0.22, allocations: 55.89 kB / 0.7323 GB, free: 11.56 MB / 0.6355 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 (7): * Single equations (assignments): 6 * 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.0006828/0.2207, allocations: 0.7613 MB / 0.733 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004878/0.2211, allocations: 227 kB / 0.7332 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.2211, allocations: 8.062 kB / 0.7333 GB, free: 10.53 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002467/0.2214, allocations: 154.7 kB / 0.7334 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003816/0.2218, allocations: 41.94 kB / 0.7334 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002951/0.2247, allocations: 2.158 MB / 0.7355 GB, free: 8.027 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001824/0.2249, allocations: 144.2 kB / 0.7357 GB, free: 7.863 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001227/0.225, allocations: 29.45 kB / 0.7357 GB, free: 7.836 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001021/0.2251, allocations: 64.47 kB / 0.7358 GB, free: 7.773 MB / 0.6355 GB Notification: Performance of SimCode: time 1.383e-06/0.2251, allocations: 0 / 0.7358 GB, free: 7.773 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03973/0.2649, allocations: 4.832 MB / 0.7405 GB, free: 3.113 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/11.9, allocations: 2.578 kB / 0.7405 GB, free: 3.113 MB / 0.6355 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo IDEAS_IDEAS.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/IDEAS_IDEAS.Electrical.DC.Sources.Examples.VoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Electrical_DC_Sources_Examples_VoltageSource_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Electrical_DC_Sources_Examples_VoltageSource.fmu > IDEAS_IDEAS.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.885872468992602] Failed to read output from testmodel.py, exit status != 0: 12.036685172992293 12.061587492 11.850575759 Calling exit ...