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.001576/0.001576, allocations: 106 kB / 16.45 MB, free: 6.445 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.00201/0.00201, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.518/1.518, allocations: 225.6 MB / 247.8 MB, free: 3.746 MB / 190.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.103/1.103, allocations: 175.8 MB / 478.4 MB, free: 3.445 MB / 366.1 MB " [Timeout remaining time 179] 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.002033/0.002033, allocations: 67.83 kB / 0.6652 GB, free: 11.22 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1894/0.1915, allocations: 94.54 MB / 0.7575 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Sources.Examples.VoltageSource): time 0.005393/0.1968, allocations: 3.241 MB / 0.7607 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002583/0.1994, allocations: 1.398 MB / 0.762 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001908/0.1996, allocations: 4 kB / 0.762 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001252/0.2009, allocations: 342.6 kB / 0.7624 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004483/0.2013, allocations: 147.2 kB / 0.7625 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004582/0.2018, allocations: 146.5 kB / 0.7626 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005636/0.2023, allocations: 330.9 kB / 0.763 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004989/0.2028, allocations: 199.7 kB / 0.7631 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002685/0.2031, allocations: 147.5 kB / 0.7633 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003515/0.2035, allocations: 155.5 kB / 0.7634 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.43e-05/0.2035, allocations: 20 kB / 0.7635 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003993/0.2039, allocations: 179.6 kB / 0.7636 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000111/0.204, allocations: 87.72 kB / 0.7637 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001533/0.2042, allocations: 119.4 kB / 0.7638 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005788/0.2047, allocations: 358.6 kB / 0.7642 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.2047, allocations: 0 / 0.7642 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.094e-06/0.2048, allocations: 0 / 0.7642 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.483e-05/0.2048, allocations: 0 / 0.7642 GB, free: 10.79 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.001039/0.2058, allocations: 0.5532 MB / 0.7647 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/0.2059, allocations: 8.031 kB / 0.7647 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.046e-05/0.2059, allocations: 54.73 kB / 0.7648 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006061/0.2065, allocations: 84.66 kB / 0.7648 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003847/0.2069, allocations: 263.9 kB / 0.7651 GB, free: 9.738 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.171e-05/0.2069, allocations: 16.81 kB / 0.7651 GB, free: 9.723 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.195e-05/0.207, allocations: 20.38 kB / 0.7651 GB, free: 9.703 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005253/0.2075, allocations: 316.4 kB / 0.7654 GB, free: 9.371 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.2075, allocations: 4 kB / 0.7654 GB, free: 9.367 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.494e-05/0.2075, allocations: 4 kB / 0.7654 GB, free: 9.363 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.605e-05/0.2076, allocations: 24.44 kB / 0.7655 GB, free: 9.34 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004157/0.208, allocations: 217.5 kB / 0.7657 GB, free: 9.129 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001902/0.2099, allocations: 1.482 MB / 0.7671 GB, free: 7.48 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004607/0.2104, allocations: 203.7 kB / 0.7673 GB, free: 7.254 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.565e-05/0.2105, allocations: 36.84 kB / 0.7674 GB, free: 7.215 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.305e-05/0.2105, allocations: 0 / 0.7674 GB, free: 7.215 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/0.2105, allocations: 38.55 kB / 0.7674 GB, free: 7.168 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 9.72e-07/0.2105, allocations: 0 / 0.7674 GB, free: 7.168 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8): time 0.0005984/0.2111, allocations: 263.4 kB / 0.7676 GB, free: 6.883 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.401e-05/0.2111, allocations: 51.41 kB / 0.7677 GB, free: 6.82 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00023/0.2114, allocations: 211.7 kB / 0.7679 GB, free: 6.602 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.18e-05/0.2114, allocations: 25.7 kB / 0.7679 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001571/0.2115, allocations: 180 kB / 0.7681 GB, free: 6.391 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.378e-05/0.2116, allocations: 31.78 kB / 0.7681 GB, free: 6.359 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.657e-05/0.2116, allocations: 33.72 kB / 0.7681 GB, free: 6.32 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001557/0.2118, allocations: 330.8 kB / 0.7685 GB, free: 5.988 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001061/0.2119, allocations: 43.97 kB / 0.7685 GB, free: 5.945 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001467/0.2121, allocations: 117.9 kB / 0.7686 GB, free: 5.801 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002477/0.2123, allocations: 168.4 kB / 0.7688 GB, free: 5.605 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.211e-06/0.2123, allocations: 4 kB / 0.7688 GB, free: 5.602 MB / 0.5762 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003887/0.2127, allocations: 210.1 kB / 0.769 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.2127, allocations: 4.281 kB / 0.769 GB, free: 5.383 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.2127, allocations: 8 kB / 0.769 GB, free: 5.375 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001788/0.2129, allocations: 36.78 kB / 0.769 GB, free: 5.336 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001452/0.213, allocations: 35.92 kB / 0.7691 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001269/0.2143, allocations: 1.425 MB / 0.7705 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000154/0.2145, allocations: 19.84 kB / 0.7705 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.589e-05/0.2145, allocations: 8 kB / 0.7705 GB, free: 3.711 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.0001725/0.2147, allocations: 153.8 kB / 0.7706 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.477e-05/0.2147, allocations: 19.91 kB / 0.7706 GB, free: 3.531 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.534e-05/0.2147, allocations: 17.41 kB / 0.7707 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.2147, allocations: 4 kB / 0.7707 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.125e-06/0.2147, allocations: 0 / 0.7707 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.2147, allocations: 3.984 kB / 0.7707 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007363/0.2155, allocations: 491.5 kB / 0.7711 GB, free: 2.969 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.2155, allocations: 4 kB / 0.7711 GB, free: 2.965 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.043e-05/0.2156, allocations: 16 kB / 0.7712 GB, free: 2.949 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001058/0.2157, allocations: 24.83 kB / 0.7712 GB, free: 2.922 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.2157, allocations: 4 kB / 0.7712 GB, free: 2.918 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001151/0.2168, allocations: 1.421 MB / 0.7726 GB, free: 1.352 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2168, allocations: 0 / 0.7726 GB, free: 1.352 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003155/0.2171, allocations: 240.4 kB / 0.7728 GB, free: 1.098 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.366e-05/0.2172, allocations: 97.02 kB / 0.7729 GB, free: 0.9844 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.585e-05/0.2173, allocations: 7.984 kB / 0.7729 GB, free: 0.9766 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001266/0.2174, allocations: 8 kB / 0.7729 GB, free: 0.9688 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.331e-05/0.2174, allocations: 3.984 kB / 0.7729 GB, free: 0.9648 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/0.2174, allocations: 4 kB / 0.7729 GB, free: 0.9609 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001359/0.2176, allocations: 149.5 kB / 0.7731 GB, free: 0.8164 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.2176, allocations: 4 kB / 0.7731 GB, free: 0.8125 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000349/0.2179, allocations: 59.84 kB / 0.7731 GB, free: 0.7539 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.0006749/0.2186, allocations: 0.7678 MB / 0.7739 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004756/0.2191, allocations: 230.5 kB / 0.7741 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.2191, allocations: 0 / 0.7741 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002447/0.2193, allocations: 162.6 kB / 0.7742 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003867/0.2197, allocations: 44.7 kB / 0.7743 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002643/0.2224, allocations: 2.141 MB / 0.7764 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004074/0.2228, allocations: 0.7554 MB / 0.7771 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001121/0.2229, allocations: 29.53 kB / 0.7771 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.13e-05/0.223, allocations: 55.42 kB / 0.7772 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of SimCode: time 5.91e-07/0.223, allocations: 4 kB / 0.7772 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03181/0.2548, allocations: 4.034 MB / 0.7811 GB, free: 8.445 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.957/10.21, allocations: 11.94 kB / 0.7812 GB, free: 8.434 MB / 0.5919 GB " [Timeout remaining time 650] (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.229916200973094] Failed to read output from testmodel.py, exit status != 0: 10.297354452311993 10.317588282 10.108851653 Calling exit ...