Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource.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.0007166/0.0007166, 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.0007767/0.0007767, 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.9038/0.9038, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.00147/0.00147, allocations: 237.1 kB / 259.4 MB, free: 13.02 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6645/0.6645, allocations: 138.4 MB / 454.3 MB, free: 30.01 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_DC_Sources_Examples_VoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_DC_Sources_Examples_VoltageSource",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.6463 GB, free: 1.887 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.901e-05/2.059e-05, allocations: 13.17 kB / 0.6463 GB, free: 1.875 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource): time 0.2268/0.2268, allocations: 3.158 MB / 0.6494 GB, free: 55.23 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.001653/0.2285, allocations: 1.36 MB / 0.6507 GB, free: 54.68 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001353/0.2286, allocations: 10.72 kB / 0.6507 GB, free: 54.68 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0007867/0.2294, allocations: 337.9 kB / 0.651 GB, free: 54.57 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0003174/0.2297, allocations: 156.2 kB / 0.6512 GB, free: 54.49 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003165/0.23, allocations: 166.1 kB / 0.6513 GB, free: 54.45 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0002718/0.2303, allocations: 343.7 kB / 0.6517 GB, free: 54.37 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003397/0.2307, allocations: 194.8 kB / 0.6518 GB, free: 54.34 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000246/0.2309, allocations: 206.2 kB / 0.652 GB, free: 54.3 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002109/0.2311, allocations: 132.5 kB / 0.6522 GB, free: 54.28 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 3.059e-05/0.2311, allocations: 21.12 kB / 0.6522 GB, free: 54.28 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002338/0.2314, allocations: 156.5 kB / 0.6523 GB, free: 54.24 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 8.337e-05/0.2315, allocations: 91.38 kB / 0.6524 GB, free: 54.23 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 8.183e-05/0.2315, allocations: 85.97 kB / 0.6525 GB, free: 54.21 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0004062/0.2319, allocations: 374 kB / 0.6529 GB, free: 54.15 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.2319, allocations: 0.5 kB / 0.6529 GB, free: 54.15 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.963e-06/0.232, allocations: 2.125 kB / 0.6529 GB, free: 54.15 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 7.635e-06/0.232, allocations: 0 / 0.6529 GB, free: 54.15 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0006434/0.2326, allocations: 488.1 kB / 0.6533 GB, free: 53.8 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.2326, allocations: 11.28 kB / 0.6533 GB, free: 53.8 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.314e-05/0.2327, allocations: 54.66 kB / 0.6534 GB, free: 53.77 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003777/0.2331, allocations: 95.83 kB / 0.6535 GB, free: 53.75 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002314/0.2333, allocations: 194.9 kB / 0.6537 GB, free: 53.59 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.2333, allocations: 19.03 kB / 0.6537 GB, free: 53.59 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.359e-05/0.2333, allocations: 21.58 kB / 0.6537 GB, free: 53.58 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003754/0.2337, allocations: 388.5 kB / 0.6541 GB, free: 53.33 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.2337, allocations: 1.812 kB / 0.6541 GB, free: 53.33 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.188e-05/0.2337, allocations: 20.27 kB / 0.6541 GB, free: 53.32 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.918e-05/0.2338, allocations: 17.14 kB / 0.6541 GB, free: 53.32 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002434/0.234, allocations: 213.3 kB / 0.6543 GB, free: 53.25 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008737/0.2349, allocations: 1.06 MB / 0.6553 GB, free: 52.39 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002845/0.2352, allocations: 114.9 kB / 0.6555 GB, free: 52.34 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.843e-05/0.2352, allocations: 42.25 kB / 0.6555 GB, free: 52.32 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.283e-05/0.2352, allocations: 2.594 kB / 0.6555 GB, free: 52.32 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.546e-05/0.2353, allocations: 33.48 kB / 0.6555 GB, free: 52.29 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=8): time 1.843e-06/0.2353, allocations: 2.469 kB / 0.6555 GB, free: 52.29 MB / 0.5573 GB Notification: Performance of matching and sorting (n=8): time 0.0003664/0.2356, allocations: 193.3 kB / 0.6557 GB, free: 52.19 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.946e-05/0.2356, allocations: 51.41 kB / 0.6558 GB, free: 52.13 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001356/0.2358, allocations: 216.2 kB / 0.656 GB, free: 51.99 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 8.957e-06/0.2358, allocations: 27.64 kB / 0.656 GB, free: 51.96 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 5.786e-05/0.2358, allocations: 175.4 kB / 0.6562 GB, free: 51.81 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.409e-05/0.2359, allocations: 31.73 kB / 0.6562 GB, free: 51.79 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.347e-05/0.2359, allocations: 40.83 kB / 0.6562 GB, free: 51.76 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.388e-05/0.2359, allocations: 331.4 kB / 0.6566 GB, free: 51.43 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.936e-05/0.236, allocations: 45.67 kB / 0.6566 GB, free: 51.42 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.832e-05/0.2361, allocations: 111.7 kB / 0.6567 GB, free: 51.32 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001413/0.2362, allocations: 164.3 kB / 0.6569 GB, free: 51.2 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.2362, allocations: 0 / 0.6569 GB, free: 51.2 MB / 0.5573 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002375/0.2365, allocations: 217.4 kB / 0.6571 GB, free: 51.1 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.2365, allocations: 6.031 kB / 0.6571 GB, free: 51.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.2365, allocations: 3.156 kB / 0.6571 GB, free: 51.1 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001344/0.2366, allocations: 23.2 kB / 0.6571 GB, free: 51.09 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.001e-05/0.2367, allocations: 36.73 kB / 0.6571 GB, free: 51.08 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005553/0.2373, allocations: 1.321 MB / 0.6584 GB, free: 49.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.752e-05/0.2373, allocations: 18.86 kB / 0.6584 GB, free: 49.79 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.141e-05/0.2373, allocations: 6.312 kB / 0.6584 GB, free: 49.79 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.876e-05/0.2374, allocations: 159.3 kB / 0.6586 GB, free: 49.64 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.508e-05/0.2375, allocations: 23.05 kB / 0.6586 GB, free: 49.63 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.101e-05/0.2375, allocations: 20.52 kB / 0.6586 GB, free: 49.62 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.2375, allocations: 0 / 0.6586 GB, free: 49.62 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.2375, allocations: 3.266 kB / 0.6586 GB, free: 49.62 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.2375, allocations: 0 / 0.6586 GB, free: 49.62 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000371/0.2379, allocations: 449.2 kB / 0.6591 GB, free: 49.27 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.2379, allocations: 448 / 0.6591 GB, free: 49.27 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.415e-05/0.2379, allocations: 18.03 kB / 0.6591 GB, free: 49.27 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.949e-05/0.238, allocations: 27.41 kB / 0.6591 GB, free: 49.26 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.143e-06/0.238, allocations: 0 / 0.6591 GB, free: 49.26 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004272/0.2384, allocations: 1.324 MB / 0.6604 GB, free: 47.97 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2384, allocations: 160 / 0.6604 GB, free: 47.97 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001631/0.2385, allocations: 239.6 kB / 0.6606 GB, free: 47.79 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 3.469e-05/0.2386, allocations: 23.11 kB / 0.6607 GB, free: 47.78 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.149e-05/0.2386, allocations: 1.219 kB / 0.6607 GB, free: 47.78 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.785e-05/0.2387, allocations: 15.22 kB / 0.6607 GB, free: 47.77 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.145e-05/0.2387, allocations: 5.969 kB / 0.6607 GB, free: 47.77 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.2387, allocations: 1.844 kB / 0.6607 GB, free: 47.77 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 7.35e-05/0.2388, allocations: 149.6 kB / 0.6608 GB, free: 47.67 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2388, allocations: 0 / 0.6608 GB, free: 47.67 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002313/0.239, allocations: 59.67 kB / 0.6609 GB, free: 47.66 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (7): * Single equations (assignments): 6 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002693/0.2393, allocations: 0.7771 MB / 0.6616 GB, free: 46.95 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0002761/0.2395, allocations: 226 kB / 0.6619 GB, free: 46.8 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.2396, allocations: 0 / 0.6619 GB, free: 46.8 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 9.108e-05/0.2396, allocations: 161.5 kB / 0.662 GB, free: 46.68 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002781/0.2399, allocations: 39.48 kB / 0.662 GB, free: 46.66 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001433/0.2414, allocations: 2.154 MB / 0.6642 GB, free: 45 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001013/0.2415, allocations: 139 kB / 0.6643 GB, free: 44.92 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 8.908e-05/0.2415, allocations: 31.39 kB / 0.6643 GB, free: 44.91 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.401e-05/0.2416, allocations: 61.28 kB / 0.6644 GB, free: 44.87 MB / 0.5573 GB Notification: Performance of SimCode: time 1.282e-06/0.2416, allocations: 0 / 0.6644 GB, free: 44.87 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02368/0.2653, allocations: 4.855 MB / 0.6691 GB, free: 43.79 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.845/7.111, allocations: 2.578 kB / 0.6691 GB, free: 43.79 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Electrical_DC_Sources_Examples_VoltageSource.fmu > BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.771509086713195] Failed to read output from testmodel.py, exit status != 0: 7.197793091647327 7.206123018 6.972115039 Calling exit ...