Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.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.001119/0.001119, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008849/0.0008849, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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.887/0.887, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.02189/0.02189, allocations: 4.206 MB / 263.4 MB, free: 9.148 MB / 250.7 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.SimpleModuleMP,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleMP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics.Examples.SimpleModuleMP,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleMP",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.185e-06/2.185e-06, allocations: 4 kB / 391.7 MB, free: 6.09 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.89e-05/2.108e-05, allocations: 3.828 kB / 391.7 MB, free: 6.086 MB / 362.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleMP): time 0.005092/0.005113, allocations: 5.731 MB / 397.4 MB, free: 328 kB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00323/0.008343, allocations: 2.441 MB / 399.9 MB, free: 13.87 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004484/0.008791, allocations: 23.94 kB / 399.9 MB, free: 13.85 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001573/0.01036, allocations: 1.08 MB / 401 MB, free: 12.76 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009362/0.0113, allocations: 0.6133 MB / 401.6 MB, free: 12.14 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005272/0.01183, allocations: 367 kB / 401.9 MB, free: 11.79 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008809/0.01271, allocations: 1.187 MB / 403.1 MB, free: 10.59 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001148/0.01386, allocations: 0.8714 MB / 404 MB, free: 9.695 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006354/0.01449, allocations: 0.6978 MB / 404.7 MB, free: 8.996 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000407/0.0149, allocations: 446.7 kB / 405.1 MB, free: 8.559 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001211/0.01502, allocations: 128 kB / 405.3 MB, free: 8.434 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000356/0.01538, allocations: 291.6 kB / 405.5 MB, free: 8.148 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001313/0.01551, allocations: 259.1 kB / 405.8 MB, free: 7.895 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002501/0.01576, allocations: 387 kB / 406.2 MB, free: 7.516 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001114/0.01687, allocations: 1.55 MB / 407.7 MB, free: 5.961 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.01688, allocations: 0 / 407.7 MB, free: 5.961 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.01688, allocations: 0 / 407.7 MB, free: 5.961 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.975e-05/0.0169, allocations: 0 / 407.7 MB, free: 5.961 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 237 * Number of variables: 237 Notification: Performance of Generate backend data structure: time 0.002185/0.01908, allocations: 1.476 MB / 409.2 MB, free: 4.445 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.01912, allocations: 12.03 kB / 409.2 MB, free: 4.434 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001174/0.01924, allocations: 144 kB / 409.4 MB, free: 4.285 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001044/0.02028, allocations: 348 kB / 409.7 MB, free: 3.945 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009446/0.02123, allocations: 0.6284 MB / 410.3 MB, free: 3.289 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.549e-05/0.02127, allocations: 66.38 kB / 410.4 MB, free: 3.227 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001107/0.02138, allocations: 96.38 kB / 410.5 MB, free: 3.133 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001423/0.0228, allocations: 1.026 MB / 411.5 MB, free: 2.07 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.115e-05/0.02283, allocations: 4 kB / 411.5 MB, free: 2.066 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.533e-05/0.02288, allocations: 36 kB / 411.5 MB, free: 2.031 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.475e-05/0.0229, allocations: 24 kB / 411.6 MB, free: 2.008 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001076/0.02397, allocations: 0.8645 MB / 412.4 MB, free: 1.141 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003375/0.02735, allocations: 3.269 MB / 415.7 MB, free: 13.73 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001007/0.02835, allocations: 0.6438 MB / 416.3 MB, free: 13.06 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003068/0.02866, allocations: 250.7 kB / 416.6 MB, free: 12.81 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.777e-05/0.02871, allocations: 15.98 kB / 416.6 MB, free: 12.79 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000367/0.02907, allocations: 359.9 kB / 417 MB, free: 12.41 MB / 394.7 MB Notification: Performance of pre-optimization done (n=47): time 1.533e-06/0.02908, allocations: 0 / 417 MB, free: 12.41 MB / 394.7 MB Notification: Performance of matching and sorting (n=47): time 0.001458/0.03053, allocations: 0.9448 MB / 417.9 MB, free: 11.44 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.164e-05/0.0306, allocations: 144.4 kB / 418 MB, free: 11.27 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006559/0.03125, allocations: 0.5174 MB / 418.6 MB, free: 10.74 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.78e-05/0.03128, allocations: 33.7 kB / 418.6 MB, free: 10.7 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002087/0.03149, allocations: 471.7 kB / 419.1 MB, free: 10.23 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.177e-05/0.03158, allocations: 162.6 kB / 419.2 MB, free: 10.07 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001473/0.03173, allocations: 146.5 kB / 419.4 MB, free: 9.922 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.03183, allocations: 366.8 kB / 419.7 MB, free: 9.555 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003199/0.03215, allocations: 271.5 kB / 420 MB, free: 9.285 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003969/0.03255, allocations: 463.1 kB / 420.4 MB, free: 8.75 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006891/0.03324, allocations: 0.699 MB / 421.1 MB, free: 7.957 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.03324, allocations: 0 / 421.1 MB, free: 7.957 MB / 394.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001033/0.03428, allocations: 0.8878 MB / 422 MB, free: 7.047 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.959e-05/0.03431, allocations: 37.7 kB / 422.1 MB, free: 7.004 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.03431, allocations: 7.938 kB / 422.1 MB, free: 6.996 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002333/0.03455, allocations: 80.78 kB / 422.1 MB, free: 6.914 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003444/0.03489, allocations: 167.9 kB / 422.3 MB, free: 6.75 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009634/0.03586, allocations: 1.467 MB / 423.8 MB, free: 5.164 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002836/0.03614, allocations: 95.58 kB / 423.9 MB, free: 5.07 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.459e-05/0.03617, allocations: 31.98 kB / 423.9 MB, free: 5.039 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (91): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * 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.0002388/0.03641, allocations: 275.2 kB / 424.2 MB, free: 4.754 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.814e-05/0.03647, allocations: 59.62 kB / 424.2 MB, free: 4.695 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000842/0.03731, allocations: 0.7364 MB / 425 MB, free: 3.93 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.03732, allocations: 4 kB / 425 MB, free: 3.926 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.03732, allocations: 3.938 kB / 425 MB, free: 3.922 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.03732, allocations: 7.984 kB / 425 MB, free: 3.914 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001847/0.03917, allocations: 1.505 MB / 426.5 MB, free: 2.328 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.03917, allocations: 4 kB / 426.5 MB, free: 2.324 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002033/0.03938, allocations: 71.91 kB / 426.6 MB, free: 2.254 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000347/0.03972, allocations: 288.1 kB / 426.8 MB, free: 1.957 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.53e-05/0.03975, allocations: 23.98 kB / 426.9 MB, free: 1.934 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006055/0.04036, allocations: 0.8892 MB / 427.8 MB, free: 1 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.04036, allocations: 0 / 427.8 MB, free: 1 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001178/0.04153, allocations: 1.111 MB / 428.9 MB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000133/0.04167, allocations: 111.5 kB / 429 MB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.818e-05/0.04172, allocations: 12 kB / 429 MB, free: 15.72 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002524/0.04197, allocations: 35.95 kB / 429 MB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.906e-05/0.04203, allocations: 31.94 kB / 429 MB, free: 15.65 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.045e-05/0.04205, allocations: 16 kB / 429.1 MB, free: 15.64 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002581/0.04231, allocations: 350.9 kB / 429.4 MB, free: 15.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.04231, allocations: 0 / 429.4 MB, free: 15.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000424/0.04273, allocations: 247.3 kB / 429.6 MB, free: 15.05 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (converter.integrator.y,voltageSource.pin_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 (41): * Single equations (assignments): 40 * 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): 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.001507/0.04424, allocations: 1.7 MB / 431.3 MB, free: 13.29 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008601/0.0451, allocations: 0.7948 MB / 432.1 MB, free: 12.46 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.0451, allocations: 0 / 432.1 MB, free: 12.46 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005594/0.04566, allocations: 318.6 kB / 432.5 MB, free: 12.13 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003863/0.04604, allocations: 102.1 kB / 432.6 MB, free: 12.03 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00543/0.05147, allocations: 5.634 MB / 438.2 MB, free: 6.102 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002688/0.05174, allocations: 352 kB / 438.5 MB, free: 5.73 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000209/0.05195, allocations: 88.95 kB / 438.6 MB, free: 5.645 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002679/0.05222, allocations: 304.4 kB / 438.9 MB, free: 5.348 MB / 410.7 MB Notification: Performance of SimCode: time 6.42e-07/0.05222, allocations: 0 / 438.9 MB, free: 5.348 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.153/0.2053, allocations: 15.33 MB / 454.2 MB, free: 92.82 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.877/8.082, allocations: 9.875 kB / 454.3 MB, free: 92.82 MB / 410.7 MB " [Timeout remaining time 652] (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleMP_fmu --startTime=0 --stopTime=300 --stepSize=0.1 --timeout=50 --tolerance=1e-06 PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleMP.fmu > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.859593189321458] Failed to read output from testmodel.py, exit status != 0: 8.176584891043603 8.183042058 8.164732737 Calling exit ...