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.0008196/0.0008196, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.0009524/0.0009524, allocations: 209.7 kB / 22.24 MB, free: 3.59 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 0.93/0.93, allocations: 230.6 MB / 256 MB, free: 9.586 MB / 202.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.7839/0.7839, allocations: 203.5 MB / 0.5039 GB, free: 10.71 MB / 410.7 MB " [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.00105/0.00105, allocations: 67.33 kB / 0.7178 GB, free: 4.402 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4996/0.5007, allocations: 102 MB / 0.8174 GB, free: 1.23 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Sources.Examples.VoltageSource): time 0.004066/0.5047, allocations: 3.183 MB / 0.8205 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002066/0.5068, allocations: 1.405 MB / 0.8218 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001522/0.5069, allocations: 11.22 kB / 0.8219 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0009369/0.5079, allocations: 327.8 kB / 0.8222 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004101/0.5083, allocations: 155.1 kB / 0.8223 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004577/0.5087, allocations: 161 kB / 0.8225 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004291/0.5092, allocations: 335.6 kB / 0.8228 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003936/0.5096, allocations: 197.8 kB / 0.823 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002753/0.5098, allocations: 145.8 kB / 0.8231 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002882/0.5101, allocations: 147.8 kB / 0.8233 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.275e-05/0.5102, allocations: 20.06 kB / 0.8233 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002757/0.5104, allocations: 153.7 kB / 0.8234 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001003/0.5105, allocations: 88.27 kB / 0.8235 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.438e-05/0.5106, allocations: 112.9 kB / 0.8236 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000498/0.5111, allocations: 361 kB / 0.824 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.5111, allocations: 0.5625 kB / 0.824 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.393e-06/0.5111, allocations: 0 / 0.824 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.337e-06/0.5111, allocations: 1.062 kB / 0.824 GB, free: 13.27 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.0008619/0.512, allocations: 487.9 kB / 0.8244 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.5121, allocations: 12.69 kB / 0.8244 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.084e-05/0.5121, allocations: 56.7 kB / 0.8245 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004549/0.5126, allocations: 101.4 kB / 0.8246 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002899/0.5129, allocations: 200.9 kB / 0.8248 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/0.5129, allocations: 13.28 kB / 0.8248 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.83e-05/0.5129, allocations: 19.97 kB / 0.8248 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000456/0.5134, allocations: 395.8 kB / 0.8252 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.5134, allocations: 4 kB / 0.8252 GB, free: 12.35 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.013e-05/0.5134, allocations: 6.562 kB / 0.8252 GB, free: 12.35 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.126e-05/0.5134, allocations: 21.28 kB / 0.8252 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002682/0.5137, allocations: 210.6 kB / 0.8254 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001007/0.5147, allocations: 1.073 MB / 0.8265 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002943/0.515, allocations: 117.1 kB / 0.8266 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.065e-05/0.5151, allocations: 37.08 kB / 0.8266 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.304e-05/0.5151, allocations: 2.016 kB / 0.8266 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.281e-05/0.5151, allocations: 36.75 kB / 0.8267 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.332e-06/0.5151, allocations: 0 / 0.8267 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0003761/0.5155, allocations: 189.8 kB / 0.8268 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.684e-05/0.5155, allocations: 52.69 kB / 0.8269 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001626/0.5157, allocations: 218.6 kB / 0.8271 GB, free: 11 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.296e-05/0.5157, allocations: 26.27 kB / 0.8271 GB, free: 10.97 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.479e-05/0.5158, allocations: 178.3 kB / 0.8273 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.99e-05/0.5158, allocations: 29.81 kB / 0.8273 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.633e-05/0.5158, allocations: 37.41 kB / 0.8274 GB, free: 10.77 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0002291/0.5161, allocations: 327.7 kB / 0.8277 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.087e-05/0.5161, allocations: 47.44 kB / 0.8277 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.854e-05/0.5162, allocations: 114.9 kB / 0.8278 GB, free: 10.33 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001553/0.5164, allocations: 173.1 kB / 0.828 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.5164, allocations: 0.6094 kB / 0.828 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002482/0.5166, allocations: 214 kB / 0.8282 GB, free: 10.09 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.5166, allocations: 5.812 kB / 0.8282 GB, free: 10.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.5166, allocations: 2.594 kB / 0.8282 GB, free: 10.09 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001342/0.5168, allocations: 36.23 kB / 0.8282 GB, free: 10.07 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.217e-05/0.5169, allocations: 32.09 kB / 0.8283 GB, free: 10.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007346/0.5176, allocations: 1.314 MB / 0.8295 GB, free: 8.777 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.296e-05/0.5177, allocations: 24.19 kB / 0.8296 GB, free: 8.762 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/0.5177, allocations: 10.12 kB / 0.8296 GB, free: 8.758 MB / 0.6198 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.724e-05/0.5178, allocations: 152.5 kB / 0.8297 GB, free: 8.621 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.404e-05/0.5178, allocations: 15.34 kB / 0.8297 GB, free: 8.613 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.104e-05/0.5178, allocations: 25.56 kB / 0.8298 GB, free: 8.594 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.12e-07/0.5178, allocations: 0 / 0.8298 GB, free: 8.594 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.5178, allocations: 5.766 kB / 0.8298 GB, free: 8.59 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.5178, allocations: 0.7969 kB / 0.8298 GB, free: 8.59 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004463/0.5183, allocations: 448.4 kB / 0.8302 GB, free: 8.246 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.5183, allocations: 1.125 kB / 0.8302 GB, free: 8.246 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.125e-05/0.5183, allocations: 15.45 kB / 0.8302 GB, free: 8.242 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.449e-05/0.5184, allocations: 24.64 kB / 0.8302 GB, free: 8.23 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.5184, allocations: 0.7031 kB / 0.8302 GB, free: 8.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007182/0.5191, allocations: 1.315 MB / 0.8315 GB, free: 6.941 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.5191, allocations: 4.5 kB / 0.8315 GB, free: 6.938 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000213/0.5193, allocations: 242.5 kB / 0.8318 GB, free: 6.754 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.084e-05/0.5194, allocations: 26.86 kB / 0.8318 GB, free: 6.738 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.21e-05/0.5194, allocations: 5.469 kB / 0.8318 GB, free: 6.734 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.881e-05/0.5195, allocations: 6.672 kB / 0.8318 GB, free: 6.734 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.359e-05/0.5195, allocations: 10.34 kB / 0.8318 GB, free: 6.73 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.672e-06/0.5195, allocations: 1.281 kB / 0.8318 GB, free: 6.73 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001185/0.5196, allocations: 153.4 kB / 0.832 GB, free: 6.629 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5196, allocations: 0 / 0.832 GB, free: 6.629 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002702/0.5199, allocations: 55.8 kB / 0.832 GB, free: 6.617 MB / 0.6198 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.0004517/0.5204, allocations: 0.7678 MB / 0.8328 GB, free: 5.906 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004739/0.5208, allocations: 223 kB / 0.833 GB, free: 5.762 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.5208, allocations: 0.5312 kB / 0.833 GB, free: 5.762 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001784/0.521, allocations: 163.3 kB / 0.8331 GB, free: 5.633 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003657/0.5214, allocations: 33.77 kB / 0.8332 GB, free: 5.621 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002255/0.5236, allocations: 2.163 MB / 0.8353 GB, free: 3.953 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001251/0.5238, allocations: 144.4 kB / 0.8354 GB, free: 3.867 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001097/0.5239, allocations: 32.02 kB / 0.8354 GB, free: 3.859 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.062e-05/0.5239, allocations: 56.58 kB / 0.8355 GB, free: 3.816 MB / 0.6198 GB Notification: Performance of SimCode: time 8.91e-07/0.5239, allocations: 1.062 kB / 0.8355 GB, free: 3.816 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02112/0.5451, allocations: 4.695 MB / 0.8401 GB, free: 2.574 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.973/7.518, allocations: 8.688 kB / 0.8401 GB, free: 2.57 MB / 0.6198 GB " [Timeout remaining time 652] (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: 10.38548866380006] Failed to read output from testmodel.py, exit status != 0: 7.5972730801440775 7.605994224 7.092841662 Calling exit ...