Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3.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.001217/0.001217, allocations: 119.6 kB / 17.16 MB, free: 5.914 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.001272/0.001272, allocations: 211 kB / 20.13 MB, free: 2.969 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.443/1.443, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.1.0/package.mo): time 0.02851/0.02851, allocations: 5.478 MB / 315 MB, free: 1.602 MB / 238.1 MB " [Timeout remaining time 180] Using package PhotoVoltaics with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.1.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(PhotoVoltaics.Examples.SimpleModuleMP3,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleMP3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics.Examples.SimpleModuleMP3,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleMP3",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PhotoVoltaics 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.002101/0.002101, allocations: 70.94 kB / 441.3 MB, free: 37.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09549/0.09759, allocations: 54.58 MB / 495.9 MB, free: 8.852 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleMP3): time 0.009111/0.1067, allocations: 10.18 MB / 0.4942 GB, free: 14.62 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007477/0.1142, allocations: 3.601 MB / 0.4977 GB, free: 11.01 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001844/0.116, allocations: 79.56 kB / 0.4978 GB, free: 10.93 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007714/0.1237, allocations: 3.268 MB / 0.501 GB, free: 7.652 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003407/0.1271, allocations: 0.8582 MB / 0.5018 GB, free: 6.789 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002873/0.13, allocations: 1.096 MB / 0.5029 GB, free: 5.691 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005819/0.1358, allocations: 4.23 MB / 0.507 GB, free: 1.449 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0127/0.1485, allocations: 7.994 MB / 0.5148 GB, free: 9.359 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003582/0.1521, allocations: 2.428 MB / 0.5172 GB, free: 6.926 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004312/0.1564, allocations: 2.659 MB / 0.5198 GB, free: 4.254 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001667/0.1581, allocations: 0.7188 MB / 0.5205 GB, free: 3.535 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002786/0.1609, allocations: 1.027 MB / 0.5215 GB, free: 2.508 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001832/0.1627, allocations: 1.337 MB / 0.5228 GB, free: 1.168 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003174/0.1659, allocations: 2.603 MB / 0.5254 GB, free: 14.55 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0106/0.1765, allocations: 9.159 MB / 0.5343 GB, free: 5.367 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.1765, allocations: 0 / 0.5343 GB, free: 5.367 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1765, allocations: 0 / 0.5343 GB, free: 5.367 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002152/0.1767, allocations: 0 / 0.5343 GB, free: 5.367 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1141 * Number of variables: 1141 Notification: Performance of Generate backend data structure: time 0.0145/0.1912, allocations: 5.444 MB / 0.5396 GB, free: 15.84 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.1912, allocations: 12.03 kB / 0.5396 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001144/0.1914, allocations: 120.7 kB / 0.5397 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009882/0.1924, allocations: 0.6088 MB / 0.5403 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009849/0.2022, allocations: 1.633 MB / 0.5419 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005866/0.2081, allocations: 2.955 MB / 0.5448 GB, free: 10.44 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002904/0.2084, allocations: 324.5 kB / 0.5451 GB, free: 10.12 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009105/0.2093, allocations: 415.9 kB / 0.5455 GB, free: 9.715 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01218/0.2214, allocations: 6.672 MB / 0.552 GB, free: 2.969 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.462e-05/0.2215, allocations: 4 kB / 0.552 GB, free: 2.965 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004443/0.222, allocations: 176 kB / 0.5522 GB, free: 2.793 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000221/0.2222, allocations: 203.8 kB / 0.5524 GB, free: 2.594 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01043/0.2326, allocations: 5.625 MB / 0.5579 GB, free: 12.96 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03537/0.268, allocations: 23.49 MB / 0.5808 GB, free: 4.516 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2266/0.4946, allocations: 4.263 MB / 0.585 GB, free: 88.74 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001581/0.4961, allocations: 0.7594 MB / 0.5857 GB, free: 88.72 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001882/0.4963, allocations: 194.1 kB / 0.5859 GB, free: 88.53 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001115/0.4974, allocations: 0.7816 MB / 0.5867 GB, free: 88.43 MB / 446.1 MB Notification: Performance of pre-optimization done (n=106): time 2.635e-06/0.4974, allocations: 0.5938 kB / 0.5867 GB, free: 88.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=106): time 0.0045/0.5019, allocations: 2.213 MB / 0.5889 GB, free: 88.24 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.685e-05/0.502, allocations: 148.4 kB / 0.589 GB, free: 88.08 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002462/0.5045, allocations: 1.825 MB / 0.5908 GB, free: 87.88 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.557e-05/0.5045, allocations: 41.27 kB / 0.5908 GB, free: 87.84 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001405/0.5059, allocations: 2.047 MB / 0.5928 GB, free: 86.45 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002633/0.5062, allocations: 404.8 kB / 0.5932 GB, free: 86.16 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007087/0.5069, allocations: 0.5504 MB / 0.5937 GB, free: 85.89 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.234e-05/0.5069, allocations: 304.5 kB / 0.594 GB, free: 85.6 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001738/0.5087, allocations: 1.081 MB / 0.5951 GB, free: 85.21 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002173/0.5109, allocations: 2.179 MB / 0.5972 GB, free: 83.41 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003743/0.5146, allocations: 3.374 MB / 0.6005 GB, free: 80.99 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.285e-05/0.5146, allocations: 11.53 kB / 0.6005 GB, free: 80.99 MB / 446.1 MB Notification: Performance of matching and sorting (n=316) (initialization): time 0.005324/0.52, allocations: 3.492 MB / 0.6039 GB, free: 79.59 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.131e-05/0.52, allocations: 46.83 kB / 0.604 GB, free: 79.56 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-05/0.5201, allocations: 37.62 kB / 0.604 GB, free: 79.56 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006128/0.5207, allocations: 125 kB / 0.6041 GB, free: 79.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002122/0.5229, allocations: 0.6132 MB / 0.6047 GB, free: 79.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001243/0.5241, allocations: 1.635 MB / 0.6063 GB, free: 77.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001842/0.5259, allocations: 366.8 kB / 0.6067 GB, free: 77.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001658/0.5261, allocations: 141.5 kB / 0.6068 GB, free: 77.72 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 168 * Number of states: 0 () * Number of discrete variables: 11 (mpTracker.signv,$PRE.mpTracker.signv,mpTracker.firstTrigger,$PRE.mpTracker.firstTrigger,mpTracker.counter,$PRE.mpTracker.counter,mpTracker.sampleTrigger,$whenCondition1,mpTracker.vRef,$PRE.mpTracker.vRef,converter.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (313): * Single equations (assignments): 310 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00209/0.5282, allocations: 1.711 MB / 0.6085 GB, free: 76.82 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002672/0.5285, allocations: 165.9 kB / 0.6086 GB, free: 76.73 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002787/0.5312, allocations: 1.746 MB / 0.6103 GB, free: 76.04 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001948/0.5332, allocations: 1.402 MB / 0.6117 GB, free: 75.49 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.5332, allocations: 0 / 0.6117 GB, free: 75.49 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.239e-05/0.5332, allocations: 8.672 kB / 0.6117 GB, free: 75.48 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006469/0.5397, allocations: 4.958 MB / 0.6166 GB, free: 72.56 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/0.5397, allocations: 8.031 kB / 0.6166 GB, free: 72.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000757/0.5404, allocations: 207.7 kB / 0.6168 GB, free: 72.35 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005185/0.541, allocations: 254.1 kB / 0.617 GB, free: 72.1 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.51e-05/0.541, allocations: 31.98 kB / 0.617 GB, free: 72.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008286/0.5419, allocations: 0.832 MB / 0.6179 GB, free: 71.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.5419, allocations: 3.938 kB / 0.6179 GB, free: 71.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003409/0.5453, allocations: 2.575 MB / 0.6204 GB, free: 68.59 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005179/0.5458, allocations: 366.9 kB / 0.6207 GB, free: 68.21 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001881/0.546, allocations: 24 kB / 0.6207 GB, free: 68.19 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007601/0.5467, allocations: 75.91 kB / 0.6208 GB, free: 68.11 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001329/0.5469, allocations: 68.97 kB / 0.6209 GB, free: 68.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-05/0.5469, allocations: 45.23 kB / 0.6209 GB, free: 68 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001367/0.5483, allocations: 1.237 MB / 0.6221 GB, free: 66.77 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5483, allocations: 0 / 0.6221 GB, free: 66.77 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002469/0.5508, allocations: 0.969 MB / 0.6231 GB, free: 65.8 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (converter.integrator.y,voltageSource.plug_p.reference.gamma) * Number of discrete variables: 6 ($whenCondition1,mpTracker.firstTrigger,mpTracker.sampleTrigger,mpTracker.counter,mpTracker.signv,mpTracker.vRef) * Number of discrete states: 7 (mpTracker.signv,mpTracker.vRef,mpTracker.firstTrigger,mpTracker.counter,$whenCondition1,mpTracker.sampleTrigger,mpTracker.power) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (108): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003844/0.5546, allocations: 3.197 MB / 0.6262 GB, free: 62.55 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0037/0.5583, allocations: 2.374 MB / 0.6285 GB, free: 60.16 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.5583, allocations: 0 / 0.6285 GB, free: 60.16 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001033/0.5594, allocations: 0.7015 MB / 0.6292 GB, free: 59.45 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001886/0.5612, allocations: 376.8 kB / 0.6296 GB, free: 59.11 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02434/0.5856, allocations: 20.88 MB / 0.65 GB, free: 36.91 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001865/0.5874, allocations: 3.032 MB / 0.6529 GB, free: 33.85 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001579/0.589, allocations: 0.8517 MB / 0.6537 GB, free: 33.01 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00123/0.5902, allocations: 1.3 MB / 0.655 GB, free: 31.71 MB / 446.1 MB Notification: Performance of SimCode: time 9.12e-07/0.5902, allocations: 3.938 kB / 0.655 GB, free: 31.71 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0806/0.6708, allocations: 52.01 MB / 0.7058 GB, free: 11.92 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.26/14.93, allocations: 6.875 kB / 0.7058 GB, free: 11.92 MB / 478.1 MB " [Timeout remaining time 645] (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleMP3_fmu --startTime=0 --stopTime=300 --stepSize=0.1 --timeout=50 --tolerance=1e-06 PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleMP3.fmu > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.66369048098568] Failed to read output from testmodel.py, exit status != 0: 15.09343310300028 15.10712949 14.927662703 Calling exit ...