Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.00182/0.00182, allocations: 108.3 kB / 19.7 MB, free: 1.918 MB / 14.72 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.002259/0.002259, allocations: 217.3 kB / 22.99 MB, free: 4.977 MB / 14.72 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 1.552/1.552, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9938/0.9938, allocations: 149.9 MB / 463.1 MB, free: 10.34 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Sources_Examples_VoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Sources_Examples_VoltageSource",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.003442/0.003442, allocations: 70.64 kB / 0.6411 GB, free: 10.12 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1846/0.188, allocations: 89.16 MB / 0.7281 GB, free: 1.035 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Sources.Examples.VoltageSource): time 0.005228/0.1933, allocations: 3.196 MB / 0.7313 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002593/0.1959, allocations: 1.379 MB / 0.7326 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000187/0.196, allocations: 11.94 kB / 0.7326 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001133/0.1972, allocations: 341.4 kB / 0.7329 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0004178/0.1976, allocations: 159.2 kB / 0.7331 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004464/0.198, allocations: 155.6 kB / 0.7332 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004787/0.1985, allocations: 330.9 kB / 0.7336 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004423/0.199, allocations: 196 kB / 0.7337 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003138/0.1993, allocations: 151.5 kB / 0.7339 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003355/0.1996, allocations: 147.4 kB / 0.734 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.882e-05/0.1997, allocations: 20 kB / 0.734 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000326/0.2, allocations: 155.6 kB / 0.7342 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001232/0.2001, allocations: 95.72 kB / 0.7343 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001352/0.2002, allocations: 99.53 kB / 0.7344 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005648/0.2008, allocations: 366.6 kB / 0.7347 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2008, allocations: 0 / 0.7347 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2008, allocations: 0 / 0.7347 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.132e-05/0.2008, allocations: 0 / 0.7347 GB, free: 10.25 MB / 0.5606 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.001028/0.2019, allocations: 489.3 kB / 0.7352 GB, free: 9.738 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.2019, allocations: 12.03 kB / 0.7352 GB, free: 9.727 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.615e-05/0.202, allocations: 58.73 kB / 0.7353 GB, free: 9.66 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007158/0.2027, allocations: 88.66 kB / 0.7353 GB, free: 9.574 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003953/0.2031, allocations: 203.7 kB / 0.7355 GB, free: 9.348 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.176e-05/0.2031, allocations: 16.81 kB / 0.7356 GB, free: 9.332 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.775e-05/0.2032, allocations: 16.38 kB / 0.7356 GB, free: 9.316 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005986/0.2037, allocations: 401.5 kB / 0.736 GB, free: 8.883 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.2038, allocations: 0 / 0.736 GB, free: 8.883 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.843e-05/0.2038, allocations: 8 kB / 0.736 GB, free: 8.875 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.651e-05/0.2038, allocations: 16.42 kB / 0.736 GB, free: 8.859 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004112/0.2042, allocations: 209.6 kB / 0.7362 GB, free: 8.656 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001667/0.2059, allocations: 1.061 MB / 0.7372 GB, free: 7.523 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00043/0.2063, allocations: 122.5 kB / 0.7373 GB, free: 7.395 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/0.2064, allocations: 44.83 kB / 0.7374 GB, free: 7.348 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.411e-05/0.2064, allocations: 0 / 0.7374 GB, free: 7.348 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.2065, allocations: 30.56 kB / 0.7374 GB, free: 7.309 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.142e-06/0.2065, allocations: 3.938 kB / 0.7374 GB, free: 7.305 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0005646/0.207, allocations: 194.3 kB / 0.7376 GB, free: 7.105 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.451e-05/0.2071, allocations: 51.41 kB / 0.7376 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002285/0.2074, allocations: 214.9 kB / 0.7378 GB, free: 6.824 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.168e-05/0.2074, allocations: 25.7 kB / 0.7379 GB, free: 6.793 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001253/0.2075, allocations: 175.9 kB / 0.738 GB, free: 6.617 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.651e-05/0.2075, allocations: 35.72 kB / 0.7381 GB, free: 6.582 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.796e-05/0.2076, allocations: 37.72 kB / 0.7381 GB, free: 6.539 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001594/0.2078, allocations: 330.8 kB / 0.7384 GB, free: 6.207 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001054/0.2079, allocations: 43.98 kB / 0.7385 GB, free: 6.164 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001599/0.208, allocations: 108.5 kB / 0.7386 GB, free: 6.027 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002683/0.2083, allocations: 168.4 kB / 0.7387 GB, free: 5.832 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.2083, allocations: 4 kB / 0.7387 GB, free: 5.828 MB / 0.5606 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004127/0.2087, allocations: 214.1 kB / 0.7389 GB, free: 5.609 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.2087, allocations: 8 kB / 0.7389 GB, free: 5.602 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.2088, allocations: 0 / 0.7389 GB, free: 5.602 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000181/0.2089, allocations: 41 kB / 0.739 GB, free: 5.559 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001445/0.2091, allocations: 39.98 kB / 0.739 GB, free: 5.52 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001226/0.2103, allocations: 1.31 MB / 0.7403 GB, free: 4.094 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001522/0.2105, allocations: 23.83 kB / 0.7403 GB, free: 4.07 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.36e-05/0.2105, allocations: 8 kB / 0.7403 GB, free: 4.062 MB / 0.5606 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.000149/0.2106, allocations: 149.9 kB / 0.7405 GB, free: 3.906 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.371e-05/0.2107, allocations: 15.91 kB / 0.7405 GB, free: 3.891 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.298e-05/0.2107, allocations: 25.39 kB / 0.7405 GB, free: 3.867 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.2107, allocations: 3.938 kB / 0.7405 GB, free: 3.863 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.2107, allocations: 96 / 0.7405 GB, free: 3.863 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.2107, allocations: 3.938 kB / 0.7405 GB, free: 3.859 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000684/0.2114, allocations: 446.7 kB / 0.7409 GB, free: 3.371 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.2114, allocations: 0 / 0.7409 GB, free: 3.371 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.101e-05/0.2115, allocations: 19.94 kB / 0.741 GB, free: 3.352 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.981e-05/0.2116, allocations: 28.83 kB / 0.741 GB, free: 3.32 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.2116, allocations: 0 / 0.741 GB, free: 3.32 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001109/0.2127, allocations: 1.315 MB / 0.7423 GB, free: 1.895 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.2127, allocations: 112 / 0.7423 GB, free: 1.895 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000329/0.213, allocations: 248.3 kB / 0.7425 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.97e-05/0.2131, allocations: 23.91 kB / 0.7425 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.402e-05/0.2131, allocations: 3.984 kB / 0.7425 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001315/0.2132, allocations: 8 kB / 0.7426 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.214e-05/0.2133, allocations: 7.984 kB / 0.7426 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.347e-06/0.2133, allocations: 4 kB / 0.7426 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000147/0.2134, allocations: 152.5 kB / 0.7427 GB, free: 1.438 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.2134, allocations: 0 / 0.7427 GB, free: 1.438 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003646/0.2138, allocations: 59.84 kB / 0.7428 GB, free: 1.379 MB / 0.5606 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.0006346/0.2144, allocations: 0.764 MB / 0.7435 GB, free: 0.582 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004597/0.2149, allocations: 222.5 kB / 0.7437 GB, free: 360 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2149, allocations: 0 / 0.7437 GB, free: 360 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000234/0.2151, allocations: 167.2 kB / 0.7439 GB, free: 180 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003668/0.2155, allocations: 38.56 kB / 0.7439 GB, free: 144 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002896/0.2184, allocations: 2.177 MB / 0.746 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000175/0.2186, allocations: 140.2 kB / 0.7462 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001247/0.2187, allocations: 25.47 kB / 0.7462 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001119/0.2188, allocations: 67.34 kB / 0.7463 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of SimCode: time 5.11e-07/0.2188, allocations: 0 / 0.7463 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03665/0.2555, allocations: 4.693 MB / 0.7509 GB, free: 9.066 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.68/11.94, allocations: 3.984 kB / 0.7509 GB, free: 9.062 MB / 0.5762 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_DC_Sources_Examples_VoltageSource_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_DC_Sources_Examples_VoltageSource.fmu > IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.187025173101574] Failed to read output from testmodel.py, exit status != 0: 12.051280432380736 12.409454104 12.20597381 Calling exit ...