Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.VariableLoad.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.001668/0.001668, allocations: 119.8 kB / 17.89 MB, free: 5.047 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.00171/0.00171, allocations: 211.2 kB / 20.84 MB, free: 2.105 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.502/1.502, allocations: 230.6 MB / 254.2 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo): time 0.03908/0.03908, allocations: 6.137 MB / 316.4 MB, free: 1.094 MB / 238.1 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/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(PowerSysPro.Examples.VariableLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_VariableLoad",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.VariableLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_VariableLoad",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 47.36 kB / 439.9 MB, free: 40.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0889/0.09034, allocations: 54.98 MB / 494.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableLoad): time 0.003649/0.09399, allocations: 2.462 MB / 497.4 MB, free: 8.043 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003528/0.09752, allocations: 2.742 MB / 0.4884 GB, free: 5.277 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005523/0.09807, allocations: 8 kB / 0.4884 GB, free: 5.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007402/0.09881, allocations: 175 kB / 0.4886 GB, free: 5.098 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001003/0.09981, allocations: 326.3 kB / 0.4889 GB, free: 4.777 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001866/0.1017, allocations: 1.276 MB / 0.4901 GB, free: 3.496 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006846/0.1024, allocations: 410.2 kB / 0.4905 GB, free: 3.094 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000197/0.1026, allocations: 92.38 kB / 0.4906 GB, free: 3 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000189/0.1028, allocations: 179.3 kB / 0.4908 GB, free: 2.824 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002553/0.103, allocations: 199.1 kB / 0.491 GB, free: 2.629 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.671e-05/0.1031, allocations: 31.94 kB / 0.491 GB, free: 2.598 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006637/0.1037, allocations: 415.6 kB / 0.4914 GB, free: 2.191 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.786e-05/0.1038, allocations: 79.69 kB / 0.4915 GB, free: 2.113 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001308/0.1039, allocations: 190.9 kB / 0.4917 GB, free: 1.926 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008611/0.1048, allocations: 0.689 MB / 0.4923 GB, free: 1.234 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1048, allocations: 4 kB / 0.4923 GB, free: 1.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.1048, allocations: 0 / 0.4923 GB, free: 1.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.752e-06/0.1048, allocations: 4 kB / 0.4923 GB, free: 1.227 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.004058/0.1089, allocations: 1.254 MB / 0.4936 GB, free: 15.92 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.1089, allocations: 8.031 kB / 0.4936 GB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.956e-05/0.1089, allocations: 8.75 kB / 0.4936 GB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.279e-05/0.109, allocations: 70.72 kB / 0.4936 GB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001172/0.1091, allocations: 48.59 kB / 0.4937 GB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004804/0.1096, allocations: 331.6 kB / 0.494 GB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.548e-05/0.1097, allocations: 54.58 kB / 0.4941 GB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.215e-05/0.1098, allocations: 32 kB / 0.4941 GB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007648/0.1105, allocations: 448.4 kB / 0.4945 GB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.1106, allocations: 0 / 0.4945 GB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.585e-05/0.1106, allocations: 15.98 kB / 0.4945 GB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.1106, allocations: 4 kB / 0.4945 GB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000645/0.1113, allocations: 386 kB / 0.4949 GB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002351/0.1136, allocations: 1.34 MB / 0.4962 GB, free: 13.06 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000986/0.1146, allocations: 451 kB / 0.4966 GB, free: 12.61 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003695/0.115, allocations: 224.8 kB / 0.4969 GB, free: 12.39 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.465e-05/0.115, allocations: 4 kB / 0.4969 GB, free: 12.38 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006212/0.1157, allocations: 327.1 kB / 0.4972 GB, free: 12.05 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 1.814e-06/0.1157, allocations: 0 / 0.4972 GB, free: 12.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=43): time 0.004685/0.1203, allocations: 1.334 MB / 0.4985 GB, free: 10.69 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.188e-05/0.1204, allocations: 114.8 kB / 0.4986 GB, free: 10.55 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003903/0.1208, allocations: 287 kB / 0.4989 GB, free: 10.26 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.457e-05/0.1209, allocations: 41.7 kB / 0.4989 GB, free: 10.21 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001405/0.121, allocations: 169 kB / 0.4991 GB, free: 10.05 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001469/0.1212, allocations: 154.6 kB / 0.4992 GB, free: 9.895 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001857/0.1213, allocations: 94.23 kB / 0.4993 GB, free: 9.797 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.1215, allocations: 342.8 kB / 0.4996 GB, free: 9.453 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004667/0.122, allocations: 261 kB / 0.4999 GB, free: 9.195 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004901/0.1225, allocations: 308.6 kB / 0.5002 GB, free: 8.887 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009537/0.1234, allocations: 0.5587 MB / 0.5007 GB, free: 8.324 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.1234, allocations: 0 / 0.5007 GB, free: 8.324 MB / 366.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.002188/0.1256, allocations: 0.9016 MB / 0.5016 GB, free: 7.414 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.804e-05/0.1257, allocations: 11.94 kB / 0.5016 GB, free: 7.402 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.1257, allocations: 0 / 0.5016 GB, free: 7.402 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002854/0.1285, allocations: 0.6017 MB / 0.5022 GB, free: 6.797 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002955/0.1288, allocations: 71.91 kB / 0.5023 GB, free: 6.727 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001841/0.1307, allocations: 1.072 MB / 0.5033 GB, free: 5.629 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003949/0.131, allocations: 47.66 kB / 0.5034 GB, free: 5.582 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.45e-05/0.1311, allocations: 19.94 kB / 0.5034 GB, free: 5.562 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (varLoad.degradedMode,$PRE.varLoad.degradedMode,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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 {(7,9)} Notification: Performance of prepare postOptimizeDAE: time 0.000248/0.1313, allocations: 166.2 kB / 0.5035 GB, free: 5.391 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.48e-05/0.1314, allocations: 43.77 kB / 0.5036 GB, free: 5.348 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001571/0.133, allocations: 0.7701 MB / 0.5043 GB, free: 4.566 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.133, allocations: 4 kB / 0.5043 GB, free: 4.562 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.133, allocations: 0 / 0.5043 GB, free: 4.562 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.133, allocations: 0 / 0.5043 GB, free: 4.562 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006688/0.1337, allocations: 0.5641 MB / 0.5049 GB, free: 3.945 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.1337, allocations: 0 / 0.5049 GB, free: 3.945 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001847/0.1339, allocations: 51.91 kB / 0.5049 GB, free: 3.895 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00264/0.1365, allocations: 0.5835 MB / 0.5055 GB, free: 3.309 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.259e-05/0.1366, allocations: 15.98 kB / 0.5055 GB, free: 3.293 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001789/0.1383, allocations: 1.079 MB / 0.5066 GB, free: 2.188 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.1384, allocations: 3.984 kB / 0.5066 GB, free: 2.184 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001313/0.1397, allocations: 0.7173 MB / 0.5073 GB, free: 1.445 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001291/0.1398, allocations: 116.8 kB / 0.5074 GB, free: 1.312 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.801e-05/0.1399, allocations: 11.94 kB / 0.5074 GB, free: 1.301 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003252/0.1402, allocations: 23.98 kB / 0.5074 GB, free: 1.277 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/0.1403, allocations: 32.33 kB / 0.5075 GB, free: 1.246 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.853e-05/0.1403, allocations: 16 kB / 0.5075 GB, free: 1.23 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002736/0.1406, allocations: 213.9 kB / 0.5077 GB, free: 1.023 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1406, allocations: 4 kB / 0.5077 GB, free: 1.02 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005208/0.1411, allocations: 147.8 kB / 0.5078 GB, free: 0.875 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,varLoad.degradedMode) * Number of discrete states: 1 (varLoad.degradedMode) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * 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 {(7,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003217/0.1443, allocations: 1.63 MB / 0.5094 GB, free: 15.38 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001939/0.1463, allocations: 0.6616 MB / 0.5101 GB, free: 14.71 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.886e-06/0.1463, allocations: 4 kB / 0.5101 GB, free: 14.71 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001226/0.1475, allocations: 374.3 kB / 0.5104 GB, free: 14.34 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003891/0.1479, allocations: 48.88 kB / 0.5105 GB, free: 14.29 MB / 382.1 MB Warning: Could not resolve URI (uri) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007611/0.1555, allocations: 4.361 MB / 0.5147 GB, free: 9.852 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004756/0.156, allocations: 0.7849 MB / 0.5155 GB, free: 9.039 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002149/0.1562, allocations: 62.91 kB / 0.5155 GB, free: 8.977 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002142/0.1564, allocations: 123.4 kB / 0.5157 GB, free: 8.855 MB / 382.1 MB Notification: Performance of SimCode: time 6.91e-07/0.1564, allocations: 4 kB / 0.5157 GB, free: 8.852 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4315/0.5879, allocations: 12.32 MB / 0.5277 GB, free: 12.59 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.9/13.49, allocations: 7.875 kB / 0.5277 GB, free: 12.58 MB / 398.1 MB " [Timeout remaining time 645] (rm -f PowerSysPro_PowerSysPro.Examples.VariableLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.VariableLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.VariableLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.VariableLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_VariableLoad_fmu --startTime=0 --stopTime=3.15324e+07 --stepSize=12613 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_VariableLoad.fmu > PowerSysPro_PowerSysPro.Examples.VariableLoad.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.9667652870412] Failed to read output from testmodel.py, exit status != 0: 14.739029374031816 14.758404087 14.650239414 Calling exit ...