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.0008498/0.0008498, 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.000822/0.000822, 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.8992/0.8992, 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.7375/0.7375, 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.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.663e-06/1.663e-06, allocations: 0 / 0.6181 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.986e-05/2.152e-05, allocations: 4.953 kB / 0.6181 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Sources.Examples.VoltageSource): time 0.00341/0.003432, allocations: 3.158 MB / 0.6212 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001457/0.004888, allocations: 1.375 MB / 0.6225 GB, free: 9.164 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001115/0.005, allocations: 11.94 kB / 0.6225 GB, free: 9.152 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0006661/0.005666, allocations: 338.6 kB / 0.6228 GB, free: 8.82 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0003042/0.00597, allocations: 155 kB / 0.623 GB, free: 8.668 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003271/0.006297, allocations: 171.4 kB / 0.6232 GB, free: 8.5 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0003167/0.006614, allocations: 338.7 kB / 0.6235 GB, free: 8.168 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003566/0.006971, allocations: 204 kB / 0.6237 GB, free: 7.965 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002556/0.007226, allocations: 191.5 kB / 0.6239 GB, free: 7.777 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002009/0.007427, allocations: 135.6 kB / 0.624 GB, free: 7.645 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.832e-05/0.007456, allocations: 20 kB / 0.624 GB, free: 7.625 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002034/0.007659, allocations: 163.5 kB / 0.6242 GB, free: 7.465 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 7.258e-05/0.007732, allocations: 87.73 kB / 0.6242 GB, free: 7.379 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 6.725e-05/0.007799, allocations: 83.83 kB / 0.6243 GB, free: 7.297 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0003294/0.008128, allocations: 378.7 kB / 0.6247 GB, free: 6.926 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.008132, allocations: 4 kB / 0.6247 GB, free: 6.922 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.112e-06/0.008133, allocations: 4 kB / 0.6247 GB, free: 6.918 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.008138, allocations: 0 / 0.6247 GB, free: 6.918 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.0006271/0.008766, allocations: 475.7 kB / 0.6251 GB, free: 6.426 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.0088, allocations: 8.031 kB / 0.6251 GB, free: 6.418 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.605e-05/0.008846, allocations: 58.72 kB / 0.6252 GB, free: 6.352 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000365/0.009211, allocations: 96.7 kB / 0.6253 GB, free: 6.258 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002596/0.009471, allocations: 202.9 kB / 0.6255 GB, free: 6.031 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.009487, allocations: 16.86 kB / 0.6255 GB, free: 6.016 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.432e-05/0.009512, allocations: 20.38 kB / 0.6255 GB, free: 5.996 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003844/0.009896, allocations: 394.7 kB / 0.6259 GB, free: 5.57 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.009906, allocations: 192 / 0.6259 GB, free: 5.57 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.105e-05/0.009927, allocations: 16.12 kB / 0.6259 GB, free: 5.555 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.701e-05/0.009954, allocations: 20.48 kB / 0.6259 GB, free: 5.535 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002376/0.01019, allocations: 213.8 kB / 0.6261 GB, free: 5.328 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001041/0.01123, allocations: 1.054 MB / 0.6272 GB, free: 4.199 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002783/0.01151, allocations: 130.5 kB / 0.6273 GB, free: 4.062 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.414e-05/0.01157, allocations: 36.84 kB / 0.6273 GB, free: 4.023 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.26e-05/0.01158, allocations: 4 kB / 0.6273 GB, free: 4.02 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.732e-05/0.0116, allocations: 34.55 kB / 0.6274 GB, free: 3.977 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=8): time 1.543e-06/0.0116, allocations: 0 / 0.6274 GB, free: 3.977 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8): time 0.0003457/0.01194, allocations: 194.3 kB / 0.6276 GB, free: 3.777 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.489e-05/0.01197, allocations: 51.41 kB / 0.6276 GB, free: 3.715 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.0121, allocations: 212.2 kB / 0.6278 GB, free: 3.5 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.105e-05/0.01211, allocations: 25.7 kB / 0.6278 GB, free: 3.469 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.286e-05/0.01218, allocations: 172 kB / 0.628 GB, free: 3.293 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.578e-05/0.0122, allocations: 27.75 kB / 0.628 GB, free: 3.266 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.34e-05/0.01224, allocations: 41.66 kB / 0.6281 GB, free: 3.219 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.961e-05/0.01232, allocations: 330.8 kB / 0.6284 GB, free: 2.887 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.947e-05/0.01238, allocations: 43.97 kB / 0.6284 GB, free: 2.844 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.874e-05/0.01246, allocations: 112.5 kB / 0.6285 GB, free: 2.703 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001406/0.0126, allocations: 168.4 kB / 0.6287 GB, free: 2.508 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.0126, allocations: 0 / 0.6287 GB, free: 2.508 MB / 0.5886 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002206/0.01282, allocations: 218.1 kB / 0.6289 GB, free: 2.285 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.01284, allocations: 4 kB / 0.6289 GB, free: 2.281 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.01284, allocations: 4 kB / 0.6289 GB, free: 2.277 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001273/0.01297, allocations: 24.84 kB / 0.6289 GB, free: 2.25 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.733e-05/0.01305, allocations: 36.2 kB / 0.629 GB, free: 2.215 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007158/0.01376, allocations: 1.33 MB / 0.6303 GB, free: 0.7695 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.322e-05/0.01384, allocations: 19.92 kB / 0.6303 GB, free: 0.75 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.01385, allocations: 8 kB / 0.6303 GB, free: 0.7422 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.502e-05/0.01394, allocations: 146.8 kB / 0.6304 GB, free: 0.5898 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.378e-05/0.01397, allocations: 24 kB / 0.6304 GB, free: 0.5664 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.862e-05/0.01398, allocations: 17.47 kB / 0.6305 GB, free: 0.5508 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.01399, allocations: 0 / 0.6305 GB, free: 0.5508 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.01399, allocations: 4 kB / 0.6305 GB, free: 0.5469 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.01399, allocations: 3.984 kB / 0.6305 GB, free: 0.543 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003927/0.01438, allocations: 446.2 kB / 0.6309 GB, free: 56 kB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.01439, allocations: 3.984 kB / 0.6309 GB, free: 52 kB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.298e-05/0.01442, allocations: 12 kB / 0.6309 GB, free: 40 kB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.762e-05/0.01448, allocations: 28.78 kB / 0.6309 GB, free: 8 kB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.702e-06/0.01448, allocations: 4 kB / 0.6309 GB, free: 4 kB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005878/0.01507, allocations: 1.31 MB / 0.6322 GB, free: 14.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.01507, allocations: 3.938 kB / 0.6322 GB, free: 14.57 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001823/0.01526, allocations: 244.7 kB / 0.6325 GB, free: 14.31 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.544e-05/0.01529, allocations: 24.14 kB / 0.6325 GB, free: 14.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.037e-05/0.0153, allocations: 7.938 kB / 0.6325 GB, free: 14.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.445e-05/0.01537, allocations: 7.984 kB / 0.6325 GB, free: 14.27 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.358e-05/0.0154, allocations: 8 kB / 0.6325 GB, free: 14.27 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-06/0.01541, allocations: 3.984 kB / 0.6325 GB, free: 14.26 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.445e-05/0.01549, allocations: 151.1 kB / 0.6327 GB, free: 14.11 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4e-08/0.01549, allocations: 4 kB / 0.6327 GB, free: 14.11 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002295/0.01572, allocations: 55.89 kB / 0.6327 GB, free: 14.05 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.0005496/0.01627, allocations: 0.7678 MB / 0.6335 GB, free: 13.26 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003044/0.01657, allocations: 230.5 kB / 0.6337 GB, free: 13.02 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.01658, allocations: 0 / 0.6337 GB, free: 13.02 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001068/0.01668, allocations: 158.6 kB / 0.6338 GB, free: 12.85 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002798/0.01696, allocations: 38.42 kB / 0.6339 GB, free: 12.82 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001633/0.0186, allocations: 2.152 MB / 0.636 GB, free: 10.53 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.697e-05/0.01869, allocations: 144.2 kB / 0.6361 GB, free: 10.36 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 8.132e-05/0.01877, allocations: 29.45 kB / 0.6361 GB, free: 10.34 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.775e-05/0.01884, allocations: 60.48 kB / 0.6362 GB, free: 10.27 MB / 0.6042 GB Notification: Performance of SimCode: time 7.71e-07/0.01884, allocations: 0 / 0.6362 GB, free: 10.27 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01949/0.03834, allocations: 4.833 MB / 0.6409 GB, free: 5.652 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.933/6.971, allocations: 9.094 kB / 0.6409 GB, free: 5.648 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Electrical.DC.Sources.Examples.VoltageSource_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_Sources_Examples_VoltageSource.fmu > IDEAS_IDEAS.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.770085458643734] Failed to read output from testmodel.py, exit status != 0: 7.0562258856371045 7.066146246 7.055711969 Calling exit ...