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.0008219/0.0008219, 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.000861/0.000861, allocations: 169.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.8754/0.8754, allocations: 177.1 MB / 202.8 MB, free: 5.73 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.7103/0.7103, allocations: 154.6 MB / 413.8 MB, free: 0.8047 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: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 3.938 kB / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.923e-05/2.085e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Sources.Examples.VoltageSource): time 0.003404/0.003425, allocations: 3.158 MB / 0.6212 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001656/0.005081, allocations: 1.379 MB / 0.6225 GB, free: 9.109 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001427/0.005223, allocations: 11.94 kB / 0.6225 GB, free: 9.098 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0006712/0.005895, allocations: 330.6 kB / 0.6228 GB, free: 8.773 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0003098/0.006204, allocations: 163 kB / 0.623 GB, free: 8.613 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003267/0.006531, allocations: 163.4 kB / 0.6231 GB, free: 8.453 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0003364/0.006867, allocations: 338.7 kB / 0.6235 GB, free: 8.121 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003466/0.007214, allocations: 200 kB / 0.6237 GB, free: 7.922 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002695/0.007484, allocations: 199.5 kB / 0.6239 GB, free: 7.727 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002201/0.007704, allocations: 139.5 kB / 0.624 GB, free: 7.59 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.906e-05/0.007733, allocations: 20 kB / 0.624 GB, free: 7.57 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002255/0.007958, allocations: 163.5 kB / 0.6242 GB, free: 7.41 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 8.348e-05/0.008042, allocations: 87.73 kB / 0.6242 GB, free: 7.324 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 6.984e-05/0.008112, allocations: 79.83 kB / 0.6243 GB, free: 7.246 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0006254/0.008737, allocations: 378.8 kB / 0.6247 GB, free: 6.875 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.00874, allocations: 0 / 0.6247 GB, free: 6.875 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.262e-06/0.008741, allocations: 0 / 0.6247 GB, free: 6.875 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.121e-06/0.008747, allocations: 0 / 0.6247 GB, free: 6.875 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0006695/0.009417, allocations: 485.4 kB / 0.6251 GB, free: 6.371 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.009454, allocations: 12.03 kB / 0.6252 GB, free: 6.359 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.389e-05/0.009498, allocations: 54.73 kB / 0.6252 GB, free: 6.297 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003654/0.009864, allocations: 96.64 kB / 0.6253 GB, free: 6.203 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002479/0.01011, allocations: 206.9 kB / 0.6255 GB, free: 5.973 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.01012, allocations: 12.88 kB / 0.6255 GB, free: 5.961 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.607e-05/0.01015, allocations: 20.38 kB / 0.6255 GB, free: 5.941 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004121/0.01056, allocations: 394.7 kB / 0.6259 GB, free: 5.516 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.01057, allocations: 192 / 0.6259 GB, free: 5.516 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.164e-05/0.0106, allocations: 16.12 kB / 0.6259 GB, free: 5.5 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.486e-05/0.01063, allocations: 20.48 kB / 0.6259 GB, free: 5.48 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002538/0.01088, allocations: 209.8 kB / 0.6261 GB, free: 5.277 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009736/0.01186, allocations: 1.058 MB / 0.6272 GB, free: 4.145 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002817/0.01214, allocations: 130.4 kB / 0.6273 GB, free: 4.008 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.661e-05/0.0122, allocations: 40.83 kB / 0.6273 GB, free: 3.965 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.31e-05/0.01221, allocations: 4 kB / 0.6273 GB, free: 3.961 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.967e-05/0.01223, allocations: 34.56 kB / 0.6274 GB, free: 3.918 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=8): time 1.392e-06/0.01223, allocations: 0 / 0.6274 GB, free: 3.918 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8): time 0.0003543/0.01258, allocations: 182.3 kB / 0.6275 GB, free: 3.73 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.72e-05/0.01261, allocations: 51.41 kB / 0.6276 GB, free: 3.668 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001444/0.01276, allocations: 212.2 kB / 0.6278 GB, free: 3.453 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.208e-05/0.01277, allocations: 25.7 kB / 0.6278 GB, free: 3.422 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.933e-05/0.01285, allocations: 184 kB / 0.628 GB, free: 3.234 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.862e-05/0.01287, allocations: 31.73 kB / 0.628 GB, free: 3.203 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.432e-05/0.01291, allocations: 37.67 kB / 0.6281 GB, free: 3.16 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.751e-05/0.01299, allocations: 326.8 kB / 0.6284 GB, free: 2.832 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.995e-05/0.01305, allocations: 43.97 kB / 0.6284 GB, free: 2.789 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.891e-05/0.01314, allocations: 119.1 kB / 0.6285 GB, free: 2.645 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001493/0.01329, allocations: 164.3 kB / 0.6287 GB, free: 2.453 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.01329, allocations: 8 kB / 0.6287 GB, free: 2.445 MB / 0.5886 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002357/0.01353, allocations: 210.1 kB / 0.6289 GB, free: 2.23 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.01354, allocations: 8 kB / 0.6289 GB, free: 2.223 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.01355, allocations: 0 / 0.6289 GB, free: 2.223 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001321/0.01368, allocations: 29.12 kB / 0.6289 GB, free: 2.191 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.786e-05/0.01376, allocations: 31.98 kB / 0.629 GB, free: 2.16 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007406/0.0145, allocations: 1.322 MB / 0.6303 GB, free: 0.7227 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.881e-05/0.01458, allocations: 23.89 kB / 0.6303 GB, free: 0.6992 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.01459, allocations: 8 kB / 0.6303 GB, free: 0.6914 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 (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 9.809e-05/0.01468, allocations: 150.9 kB / 0.6304 GB, free: 0.5352 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.56e-05/0.01471, allocations: 19.84 kB / 0.6304 GB, free: 0.5156 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.96e-05/0.01473, allocations: 21.47 kB / 0.6305 GB, free: 0.4961 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.01473, allocations: 3.984 kB / 0.6305 GB, free: 0.4922 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.01473, allocations: 0 / 0.6305 GB, free: 0.4922 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.01474, allocations: 0 / 0.6305 GB, free: 0.4922 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004111/0.01515, allocations: 454.3 kB / 0.6309 GB, free: 15.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.01515, allocations: 0 / 0.6309 GB, free: 15.99 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.481e-05/0.01519, allocations: 8 kB / 0.6309 GB, free: 15.98 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.476e-05/0.01525, allocations: 32.73 kB / 0.6309 GB, free: 15.95 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.772e-06/0.01526, allocations: 0 / 0.6309 GB, free: 15.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008643/0.01612, allocations: 1.31 MB / 0.6322 GB, free: 14.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.01612, allocations: 4.5 kB / 0.6322 GB, free: 14.52 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001743/0.0163, allocations: 240.2 kB / 0.6325 GB, free: 14.27 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.892e-05/0.01634, allocations: 31.98 kB / 0.6325 GB, free: 14.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.042e-05/0.01635, allocations: 0 / 0.6325 GB, free: 14.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.383e-05/0.01641, allocations: 7.984 kB / 0.6325 GB, free: 14.23 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.114e-05/0.01644, allocations: 7.984 kB / 0.6325 GB, free: 14.22 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.584e-06/0.01645, allocations: 8 kB / 0.6325 GB, free: 14.21 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.149e-05/0.01653, allocations: 151.1 kB / 0.6327 GB, free: 14.06 MB / 0.6042 GB Notification: Performance of sort global known variables: time 7e-08/0.01653, allocations: 96 / 0.6327 GB, free: 14.06 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002345/0.01676, allocations: 59.83 kB / 0.6327 GB, free: 14 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 (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.0003586/0.01712, allocations: 0.7756 MB / 0.6335 GB, free: 13.2 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002996/0.01742, allocations: 226.5 kB / 0.6337 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.01742, allocations: 0 / 0.6337 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001053/0.01753, allocations: 158.6 kB / 0.6338 GB, free: 12.8 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002607/0.01779, allocations: 38.27 kB / 0.6339 GB, free: 12.76 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001638/0.01943, allocations: 2.154 MB / 0.636 GB, free: 10.47 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001013/0.01953, allocations: 144.2 kB / 0.6361 GB, free: 10.31 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 8.828e-05/0.01962, allocations: 29.47 kB / 0.6361 GB, free: 10.28 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.932e-05/0.01969, allocations: 56.48 kB / 0.6362 GB, free: 10.22 MB / 0.6042 GB Notification: Performance of SimCode: time 5.71e-07/0.01969, allocations: 0 / 0.6362 GB, free: 10.22 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01752/0.03721, allocations: 4.834 MB / 0.6409 GB, free: 5.598 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.974/7.011, allocations: 6.516 kB / 0.6409 GB, free: 5.594 MB / 0.6042 GB " [Timeout remaining time 653] (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: 9.578522076830268] Failed to read output from testmodel.py, exit status != 0: 7.094109369441867 7.102097222 7.091748537 Calling exit ...