Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.DC.Sources.Examples.VoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001439/0.001439, allocations: 108.9 kB / 16.4 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 191.7 kB / 19.35 MB, free: 3.734 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 222.9 MB / 245.1 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 3.0.0-master/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 3.0.0-master/package.mo): time 1.072/1.072, allocations: 173.4 MB / 470.7 MB, free: 13.6 MB / 382.1 MB " [Timeout remaining time 178] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_DC_Sources_Examples_VoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_DC_Sources_Examples_VoltageSource",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002084/0.002084, allocations: 72.44 kB / 0.6478 GB, free: 11.78 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1901/0.1922, allocations: 89.52 MB / 0.7352 GB, free: 2.27 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Sources.Examples.VoltageSource): time 0.006053/0.1983, allocations: 3.205 MB / 0.7384 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002596/0.201, allocations: 1.379 MB / 0.7397 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002252/0.2013, allocations: 7.938 kB / 0.7397 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001313/0.2026, allocations: 334.7 kB / 0.74 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0005652/0.2032, allocations: 147.2 kB / 0.7402 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005011/0.2037, allocations: 135.6 kB / 0.7403 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004569/0.2042, allocations: 338.8 kB / 0.7406 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005196/0.2047, allocations: 247.7 kB / 0.7409 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002625/0.205, allocations: 139.5 kB / 0.741 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000342/0.2053, allocations: 151.4 kB / 0.7412 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.302e-05/0.2054, allocations: 20 kB / 0.7412 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003665/0.2057, allocations: 167.6 kB / 0.7413 GB, free: 12 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001133/0.2059, allocations: 79.8 kB / 0.7414 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001509/0.206, allocations: 135.3 kB / 0.7415 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005489/0.2066, allocations: 350.7 kB / 0.7419 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.2066, allocations: 0 / 0.7419 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2066, allocations: 3.938 kB / 0.7419 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.742e-06/0.2066, allocations: 3.938 kB / 0.7419 GB, free: 11.43 MB / 0.5762 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.00115/0.2078, allocations: 0.5532 MB / 0.7424 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.2078, allocations: 8.031 kB / 0.7424 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.456e-05/0.2079, allocations: 62.67 kB / 0.7425 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005756/0.2085, allocations: 80.72 kB / 0.7426 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003812/0.2089, allocations: 255.9 kB / 0.7428 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.975e-05/0.2089, allocations: 12.81 kB / 0.7428 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.196e-05/0.209, allocations: 20.38 kB / 0.7428 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005523/0.2095, allocations: 320.4 kB / 0.7431 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/0.2095, allocations: 4 kB / 0.7431 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.801e-05/0.2096, allocations: 8 kB / 0.7432 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.97e-05/0.2096, allocations: 20.42 kB / 0.7432 GB, free: 9.988 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004133/0.21, allocations: 209.6 kB / 0.7434 GB, free: 9.781 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001844/0.2119, allocations: 1.502 MB / 0.7448 GB, free: 8.113 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004752/0.2124, allocations: 203.7 kB / 0.745 GB, free: 7.887 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/0.2125, allocations: 40.84 kB / 0.7451 GB, free: 7.844 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.546e-05/0.2125, allocations: 4 kB / 0.7451 GB, free: 7.84 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.268e-05/0.2126, allocations: 30.56 kB / 0.7451 GB, free: 7.801 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 2.194e-06/0.2126, allocations: 4 kB / 0.7451 GB, free: 7.797 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8): time 0.0006409/0.2132, allocations: 263.4 kB / 0.7454 GB, free: 7.512 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.81e-05/0.2133, allocations: 51.41 kB / 0.7454 GB, free: 7.449 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002348/0.2135, allocations: 216.3 kB / 0.7456 GB, free: 7.227 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.459e-05/0.2136, allocations: 29.64 kB / 0.7456 GB, free: 7.191 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001322/0.2137, allocations: 176 kB / 0.7458 GB, free: 7.016 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.045e-05/0.2137, allocations: 31.73 kB / 0.7458 GB, free: 6.984 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.721e-05/0.2138, allocations: 37.7 kB / 0.7459 GB, free: 6.941 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001651/0.214, allocations: 326.8 kB / 0.7462 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001094/0.2141, allocations: 43.97 kB / 0.7462 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001565/0.2143, allocations: 122.3 kB / 0.7464 GB, free: 6.422 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002704/0.2146, allocations: 160.4 kB / 0.7465 GB, free: 6.234 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.2146, allocations: 0 / 0.7465 GB, free: 6.234 MB / 0.5762 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004125/0.215, allocations: 218.1 kB / 0.7467 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.215, allocations: 8 kB / 0.7467 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.215, allocations: 0 / 0.7467 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001706/0.2152, allocations: 33.06 kB / 0.7468 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001804/0.2154, allocations: 39.92 kB / 0.7468 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001287/0.2167, allocations: 1.422 MB / 0.7482 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001523/0.2169, allocations: 19.84 kB / 0.7482 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.67e-05/0.2169, allocations: 8 kB / 0.7482 GB, free: 4.344 MB / 0.5762 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.0001649/0.2171, allocations: 149.7 kB / 0.7483 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.635e-05/0.2171, allocations: 19.89 kB / 0.7484 GB, free: 4.168 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.608e-05/0.2172, allocations: 17.41 kB / 0.7484 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/0.2172, allocations: 4.062 kB / 0.7484 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.2172, allocations: 0 / 0.7484 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.2172, allocations: 0 / 0.7484 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007541/0.2179, allocations: 491.1 kB / 0.7489 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.218, allocations: 4 kB / 0.7489 GB, free: 3.605 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.814e-05/0.218, allocations: 12 kB / 0.7489 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001075/0.2182, allocations: 28.84 kB / 0.7489 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.572e-05/0.2182, allocations: 7.984 kB / 0.7489 GB, free: 3.555 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001365/0.2195, allocations: 1.425 MB / 0.7503 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.2196, allocations: 0 / 0.7503 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003807/0.22, allocations: 232.2 kB / 0.7505 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001223/0.2201, allocations: 101 kB / 0.7506 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.082e-05/0.2201, allocations: 0 / 0.7506 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001275/0.2202, allocations: 16.05 kB / 0.7506 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.71e-05/0.2203, allocations: 7.938 kB / 0.7506 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.372e-05/0.2203, allocations: 3.984 kB / 0.7506 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001542/0.2205, allocations: 153.4 kB / 0.7508 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2205, allocations: 4 kB / 0.7508 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004139/0.2209, allocations: 59.84 kB / 0.7508 GB, free: 1.383 MB / 0.5762 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.000796/0.2217, allocations: 0.7654 MB / 0.7516 GB, free: 0.5859 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005424/0.2223, allocations: 227 kB / 0.7518 GB, free: 360 kB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.2223, allocations: 8.375 kB / 0.7518 GB, free: 352 kB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002608/0.2226, allocations: 162.7 kB / 0.752 GB, free: 176 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004346/0.223, allocations: 39.86 kB / 0.752 GB, free: 136 kB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3302/0.5532, allocations: 2.134 MB / 0.7541 GB, free: 17.17 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002164/0.5534, allocations: 0.7565 MB / 0.7548 GB, free: 16.47 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001304/0.5536, allocations: 25.67 kB / 0.7549 GB, free: 16.47 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.096e-05/0.5537, allocations: 60.94 kB / 0.7549 GB, free: 16.46 MB / 0.5762 GB Notification: Performance of SimCode: time 7.82e-07/0.5537, allocations: 1.688 kB / 0.7549 GB, free: 16.46 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02963/0.5833, allocations: 3.996 MB / 0.7588 GB, free: 16.05 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.07/10.65, allocations: 16.06 kB / 0.7588 GB, free: 16.04 MB / 0.5762 GB " [Timeout remaining time 649] (rm -f IDEAS_dev_IDEAS.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.DC.Sources.Examples.VoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_DC_Sources_Examples_VoltageSource_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_DC_Sources_Examples_VoltageSource.fmu > IDEAS_dev_IDEAS.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.504757820162922] Failed to read output from testmodel.py, exit status != 0: 10.73621005192399 10.74688545 10.53787595 Calling exit ...