Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.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.0008634/0.0008634, 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.0007815/0.0007815, 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.8592/0.8592, 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.01654/0.01654, allocations: 4.213 MB / 263.4 MB, free: 9.141 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.SimplePlantSymmetric,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimplePlantSymmetric",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics.Examples.SimplePlantSymmetric,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimplePlantSymmetric",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 391.7 MB, free: 6.094 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.967e-05/2.114e-05, allocations: 2.281 kB / 391.7 MB, free: 6.09 MB / 362.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimplePlantSymmetric): time 0.003232/0.003253, allocations: 3.257 MB / 394.9 MB, free: 2.809 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001878/0.005131, allocations: 1.231 MB / 396.2 MB, free: 1.574 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002073/0.005338, allocations: 7.938 kB / 396.2 MB, free: 1.566 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004365/0.005774, allocations: 206.7 kB / 396.4 MB, free: 1.363 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003116/0.006086, allocations: 190.6 kB / 396.6 MB, free: 1.176 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001889/0.006275, allocations: 127.8 kB / 396.7 MB, free: 1.051 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004301/0.006705, allocations: 0.6185 MB / 397.3 MB, free: 440 kB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001755/0.006881, allocations: 88.61 kB / 397.4 MB, free: 344 kB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002511/0.007132, allocations: 331.2 kB / 397.7 MB, free: 12 kB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002099/0.007342, allocations: 215.4 kB / 397.9 MB, free: 15.8 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.156e-05/0.007393, allocations: 52 kB / 398 MB, free: 15.75 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.682e-05/0.00749, allocations: 75.97 kB / 398.1 MB, free: 15.68 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.246e-05/0.007553, allocations: 115.6 kB / 398.2 MB, free: 15.56 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001125/0.007665, allocations: 175.5 kB / 398.3 MB, free: 15.39 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004677/0.008133, allocations: 0.5803 MB / 398.9 MB, free: 14.81 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.008138, allocations: 4 kB / 398.9 MB, free: 14.8 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.008139, allocations: 3.938 kB / 398.9 MB, free: 14.8 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.211e-06/0.008146, allocations: 0 / 398.9 MB, free: 14.8 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001171/0.009316, allocations: 0.7657 MB / 399.7 MB, free: 14 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.00936, allocations: 12.03 kB / 399.7 MB, free: 13.99 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.744e-05/0.009417, allocations: 62.72 kB / 399.8 MB, free: 13.92 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.64e-05/0.009483, allocations: 52.61 kB / 399.8 MB, free: 13.87 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007844/0.01027, allocations: 450.9 kB / 400.3 MB, free: 13.4 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/0.01029, allocations: 28.97 kB / 400.3 MB, free: 13.37 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.95e-05/0.01033, allocations: 28.38 kB / 400.3 MB, free: 13.34 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000486/0.01081, allocations: 396 kB / 400.7 MB, free: 12.93 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.198e-06/0.01082, allocations: 0 / 400.7 MB, free: 12.93 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.63e-05/0.01085, allocations: 12 kB / 400.7 MB, free: 12.92 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.01086, allocations: 8 kB / 400.7 MB, free: 12.91 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005531/0.01141, allocations: 369.6 kB / 401.1 MB, free: 12.55 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001496/0.01291, allocations: 1.247 MB / 402.3 MB, free: 11.24 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008583/0.01376, allocations: 346.4 kB / 402.7 MB, free: 10.89 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002665/0.01403, allocations: 152.8 kB / 402.8 MB, free: 10.74 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.257e-05/0.01405, allocations: 0 / 402.8 MB, free: 10.74 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/0.01407, allocations: 42.55 kB / 402.9 MB, free: 10.69 MB / 378.7 MB Notification: Performance of pre-optimization done (n=21): time 1.082e-06/0.01408, allocations: 0 / 402.9 MB, free: 10.69 MB / 378.7 MB Notification: Performance of matching and sorting (n=21): time 0.001649/0.01572, allocations: 0.692 MB / 403.6 MB, free: 9.988 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.009e-05/0.01575, allocations: 55.39 kB / 403.6 MB, free: 9.922 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003237/0.01608, allocations: 401.6 kB / 404 MB, free: 9.52 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.744e-05/0.01611, allocations: 29.7 kB / 404 MB, free: 9.484 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000121/0.01623, allocations: 228.5 kB / 404.3 MB, free: 9.258 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.042e-05/0.01627, allocations: 79.33 kB / 404.3 MB, free: 9.18 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.994e-05/0.01636, allocations: 69.61 kB / 404.4 MB, free: 9.105 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.462e-05/0.01645, allocations: 346.8 kB / 404.7 MB, free: 8.758 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002286/0.01668, allocations: 147.8 kB / 404.9 MB, free: 8.613 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002403/0.01692, allocations: 189 kB / 405.1 MB, free: 8.418 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004388/0.01736, allocations: 317.4 kB / 405.4 MB, free: 8.098 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.01736, allocations: 0 / 405.4 MB, free: 8.098 MB / 378.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009955/0.01836, allocations: 0.5785 MB / 406 MB, free: 7.508 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.01838, allocations: 10.88 kB / 406 MB, free: 7.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.01838, allocations: 4 kB / 406 MB, free: 7.496 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00064/0.01902, allocations: 341.2 kB / 406.3 MB, free: 7.156 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001386/0.01916, allocations: 51.97 kB / 406.4 MB, free: 7.105 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001566/0.02073, allocations: 2.195 MB / 408.6 MB, free: 4.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002416/0.02097, allocations: 51.73 kB / 408.6 MB, free: 4.719 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.266e-05/0.02099, allocations: 19.97 kB / 408.6 MB, free: 4.699 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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: 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001609/0.02115, allocations: 154.5 kB / 408.8 MB, free: 4.539 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.601e-05/0.0212, allocations: 35.77 kB / 408.8 MB, free: 4.504 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.332e-05/0.02126, allocations: 39.84 kB / 408.8 MB, free: 4.457 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.02126, allocations: 7.922 kB / 408.9 MB, free: 4.449 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.02127, allocations: 0 / 408.9 MB, free: 4.449 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/0.02127, allocations: 7.984 kB / 408.9 MB, free: 4.441 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001093/0.02236, allocations: 0.8412 MB / 409.7 MB, free: 3.547 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.02237, allocations: 0 / 409.7 MB, free: 3.547 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.689e-05/0.02244, allocations: 32.05 kB / 409.7 MB, free: 3.516 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006692/0.02311, allocations: 248.6 kB / 410 MB, free: 3.27 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.73e-05/0.02313, allocations: 11.98 kB / 410 MB, free: 3.258 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005599/0.02369, allocations: 0.7358 MB / 410.7 MB, free: 2.496 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.02369, allocations: 8.016 kB / 410.7 MB, free: 2.488 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008175/0.02451, allocations: 0.5318 MB / 411.3 MB, free: 1.934 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001194/0.02463, allocations: 59.73 kB / 411.3 MB, free: 1.875 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.751e-05/0.02466, allocations: 0 / 411.3 MB, free: 1.875 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001679/0.02482, allocations: 35.91 kB / 411.4 MB, free: 1.84 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.27e-05/0.02487, allocations: 19.91 kB / 411.4 MB, free: 1.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.496e-05/0.02488, allocations: 7.984 kB / 411.4 MB, free: 1.812 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002243/0.02511, allocations: 279.2 kB / 411.7 MB, free: 1.543 MB / 378.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02511, allocations: 0 / 411.7 MB, free: 1.543 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002928/0.0254, allocations: 91.83 kB / 411.7 MB, free: 1.453 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (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): 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.001032/0.02643, allocations: 1.088 MB / 412.8 MB, free: 344 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000783/0.02721, allocations: 483.4 kB / 413.3 MB, free: 15.85 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.02722, allocations: 4 kB / 413.3 MB, free: 15.84 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002327/0.02745, allocations: 151.9 kB / 413.5 MB, free: 15.7 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004007/0.02785, allocations: 89.34 kB / 413.5 MB, free: 15.61 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004521/0.03237, allocations: 3.796 MB / 417.3 MB, free: 11.71 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001184/0.03249, allocations: 187.7 kB / 417.5 MB, free: 11.5 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001412/0.03263, allocations: 47.25 kB / 417.6 MB, free: 11.45 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001249/0.03276, allocations: 124.5 kB / 417.7 MB, free: 11.33 MB / 394.7 MB Notification: Performance of SimCode: time 9.72e-07/0.03276, allocations: 0 / 417.7 MB, free: 11.33 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02186/0.05462, allocations: 10.44 MB / 428.1 MB, free: 1.074 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.831/7.885, allocations: 3.984 kB / 428.1 MB, free: 1.07 MB / 394.7 MB " [Timeout remaining time 652] (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PhotoVoltaics_PhotoVoltaics_Examples_SimplePlantSymmetric_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 PhotoVoltaics_PhotoVoltaics_Examples_SimplePlantSymmetric.fmu > PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.598300874233246] Failed to read output from testmodel.py, exit status != 0: 7.978447815403342 7.987815017 7.977601045 Calling exit ...