Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.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.001271/0.001271, allocations: 101.9 kB / 19.73 MB, free: 1.992 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.001416/0.001416, allocations: 215.1 kB / 23.03 MB, free: 4.422 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.415/1.415, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.02863/0.02863, allocations: 5.5 MB / 318.7 MB, free: 13.64 MB / 254.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.SimpleCellVoltageSource,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleCellVoltageSource",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics.Examples.SimpleCellVoltageSource,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleCellVoltageSource",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.003081/0.003081, allocations: 77.75 kB / 446.9 MB, free: 3.742 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.133, allocations: 54.61 MB / 0.4897 GB, free: 13.04 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCellVoltageSource): time 0.005665/0.1387, allocations: 3.074 MB / 0.4927 GB, free: 9.938 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002675/0.1414, allocations: 1.176 MB / 0.4939 GB, free: 8.758 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003575/0.1417, allocations: 4 kB / 0.4939 GB, free: 8.754 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007238/0.1425, allocations: 206.8 kB / 0.4941 GB, free: 8.551 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005776/0.143, allocations: 146.9 kB / 0.4942 GB, free: 8.406 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000302/0.1433, allocations: 115.9 kB / 0.4943 GB, free: 8.293 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007954/0.1441, allocations: 0.5293 MB / 0.4948 GB, free: 7.762 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000237/0.1444, allocations: 84.58 kB / 0.4949 GB, free: 7.676 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003701/0.1447, allocations: 203.3 kB / 0.4951 GB, free: 7.477 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004032/0.1452, allocations: 235 kB / 0.4953 GB, free: 7.246 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.324e-05/0.1452, allocations: 52 kB / 0.4954 GB, free: 7.195 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001746/0.1454, allocations: 71.98 kB / 0.4955 GB, free: 7.125 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001272/0.1455, allocations: 107.6 kB / 0.4956 GB, free: 7.02 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002311/0.1458, allocations: 175.2 kB / 0.4957 GB, free: 6.848 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006907/0.1465, allocations: 0.5175 MB / 0.4962 GB, free: 6.328 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1465, allocations: 0 / 0.4962 GB, free: 6.328 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1465, allocations: 0 / 0.4962 GB, free: 6.328 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.387e-05/0.1465, allocations: 4 kB / 0.4962 GB, free: 6.324 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.002194/0.1487, allocations: 0.7112 MB / 0.4969 GB, free: 5.582 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.1487, allocations: 8.031 kB / 0.4969 GB, free: 5.574 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.713e-05/0.1488, allocations: 4.625 kB / 0.497 GB, free: 5.57 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.525e-05/0.1488, allocations: 58.73 kB / 0.497 GB, free: 5.504 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001112/0.149, allocations: 44.66 kB / 0.497 GB, free: 5.461 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001136/0.1501, allocations: 405 kB / 0.4974 GB, free: 5.031 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.504e-05/0.1501, allocations: 16.44 kB / 0.4975 GB, free: 5.016 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.484e-05/0.1502, allocations: 24 kB / 0.4975 GB, free: 4.992 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005734/0.1507, allocations: 271.4 kB / 0.4977 GB, free: 4.711 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.1507, allocations: 0 / 0.4977 GB, free: 4.711 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.764e-05/0.1508, allocations: 12 kB / 0.4977 GB, free: 4.699 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.949e-06/0.1508, allocations: 11.92 kB / 0.4978 GB, free: 4.688 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005738/0.1514, allocations: 229 kB / 0.498 GB, free: 4.465 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002182/0.1535, allocations: 1.153 MB / 0.4991 GB, free: 3.234 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003874/0.1539, allocations: 138.5 kB / 0.4992 GB, free: 3.09 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002936/0.1542, allocations: 92.8 kB / 0.4993 GB, free: 2.996 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.024e-05/0.1542, allocations: 4 kB / 0.4993 GB, free: 2.992 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.718e-05/0.1543, allocations: 46.48 kB / 0.4994 GB, free: 2.938 MB / 366.1 MB Notification: Performance of pre-optimization done (n=8): time 1.302e-06/0.1543, allocations: 0 / 0.4994 GB, free: 2.938 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007386/0.155, allocations: 237.4 kB / 0.4996 GB, free: 2.699 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.037e-05/0.1551, allocations: 55.41 kB / 0.4996 GB, free: 2.633 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004385/0.1555, allocations: 385.5 kB / 0.5 GB, free: 2.246 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.208e-05/0.1555, allocations: 25.7 kB / 0.5 GB, free: 2.215 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001626/0.1557, allocations: 212.3 kB / 0.5002 GB, free: 2.004 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.625e-05/0.1557, allocations: 35.72 kB / 0.5003 GB, free: 1.969 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001122/0.1558, allocations: 57.64 kB / 0.5003 GB, free: 1.906 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.156, allocations: 334.8 kB / 0.5007 GB, free: 1.57 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002636/0.1562, allocations: 95.94 kB / 0.5007 GB, free: 1.477 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002671/0.1565, allocations: 136.9 kB / 0.5009 GB, free: 1.332 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004635/0.157, allocations: 191.3 kB / 0.5011 GB, free: 1.133 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.157, allocations: 0 / 0.5011 GB, free: 1.133 MB / 366.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001014/0.158, allocations: 352.8 kB / 0.5014 GB, free: 0.7812 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.158, allocations: 8 kB / 0.5014 GB, free: 0.7734 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.158, allocations: 3.938 kB / 0.5014 GB, free: 0.7695 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005003/0.1585, allocations: 80.81 kB / 0.5015 GB, free: 0.6875 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000308/0.1588, allocations: 55.89 kB / 0.5015 GB, free: 0.6328 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001629/0.1605, allocations: 1.455 MB / 0.503 GB, free: 15.06 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003284/0.1608, allocations: 39.84 kB / 0.503 GB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.509e-05/0.1608, allocations: 8 kB / 0.503 GB, free: 15.02 MB / 382.1 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 (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * 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.0001604/0.161, allocations: 149.7 kB / 0.5031 GB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.905e-05/0.161, allocations: 31.8 kB / 0.5032 GB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.391e-05/0.1611, allocations: 35 kB / 0.5032 GB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.1611, allocations: 4.094 kB / 0.5032 GB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.744e-06/0.1611, allocations: 0 / 0.5032 GB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.1611, allocations: 0 / 0.5032 GB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009004/0.162, allocations: 0.5294 MB / 0.5037 GB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.162, allocations: 4 kB / 0.5037 GB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001703/0.1622, allocations: 28 kB / 0.5038 GB, free: 14.17 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.1622, allocations: 4 kB / 0.5038 GB, free: 14.17 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.558e-05/0.1622, allocations: 3.984 kB / 0.5038 GB, free: 14.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1622, allocations: 0 / 0.5038 GB, free: 14.16 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/0.1622, allocations: 11.88 kB / 0.5038 GB, free: 14.15 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004973/0.1627, allocations: 292.5 kB / 0.5041 GB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/0.1628, allocations: 43.78 kB / 0.5041 GB, free: 13.8 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.694e-05/0.1629, allocations: 12 kB / 0.5041 GB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002286/0.1631, allocations: 11.98 kB / 0.5041 GB, free: 13.78 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.429e-05/0.1631, allocations: 7.922 kB / 0.5041 GB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.184e-05/0.1631, allocations: 4 kB / 0.5041 GB, free: 13.77 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002956/0.1634, allocations: 267.2 kB / 0.5044 GB, free: 13.51 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1634, allocations: 0 / 0.5044 GB, free: 13.51 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003435/0.1638, allocations: 67.89 kB / 0.5045 GB, free: 13.44 MB / 382.1 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008382/0.1646, allocations: 0.8417 MB / 0.5053 GB, free: 12.57 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007872/0.1654, allocations: 327.5 kB / 0.5056 GB, free: 12.23 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1654, allocations: 8 kB / 0.5056 GB, free: 12.23 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002073/0.1656, allocations: 71.88 kB / 0.5057 GB, free: 12.16 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004874/0.1661, allocations: 72.58 kB / 0.5057 GB, free: 12.09 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004859/0.171, allocations: 3.076 MB / 0.5087 GB, free: 8.91 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001636/0.1711, allocations: 169.2 kB / 0.5089 GB, free: 8.723 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001783/0.1713, allocations: 42.94 kB / 0.5089 GB, free: 8.68 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000181/0.1715, allocations: 115.4 kB / 0.509 GB, free: 8.566 MB / 382.1 MB Notification: Performance of SimCode: time 7.72e-07/0.1715, allocations: 0 / 0.509 GB, free: 8.566 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03135/0.2028, allocations: 7.645 MB / 0.5165 GB, free: 1.148 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.61/12.81, allocations: 15.12 kB / 0.5165 GB, free: 1.137 MB / 382.1 MB " [Timeout remaining time 647] (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PhotoVoltaics_PhotoVoltaics_Examples_SimpleCellVoltageSource_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 PhotoVoltaics_PhotoVoltaics_Examples_SimpleCellVoltageSource.fmu > PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.60101606999524] Failed to read output from testmodel.py, exit status != 0: 13.180805112002417 13.192262583 13.043430748 Calling exit ...