Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008753/0.0008754, allocations: 91.38 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006959/0.006959, allocations: 172.5 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.302/1.302, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001726/0.001726, allocations: 259.2 kB / 291.7 MB, free: 1.891 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9502/0.9502, allocations: 169.5 MB / 0.5004 GB, free: 14.15 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003861/0.0003861, allocations: 18 kB / 0.5988 GB, free: 27.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.133, allocations: 88.54 MB / 0.6852 GB, free: 14.97 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.001393/0.1345, allocations: 1.142 MB / 0.6864 GB, free: 13.82 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001171/0.1356, allocations: 0.7913 MB / 0.6871 GB, free: 13.02 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.983e-05/0.1357, allocations: 4.5 kB / 0.6871 GB, free: 13.02 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.118e-05/0.1357, allocations: 4.781 kB / 0.6871 GB, free: 13.01 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.491e-05/0.1358, allocations: 0 / 0.6871 GB, free: 13.01 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004478/0.1362, allocations: 128.5 kB / 0.6873 GB, free: 12.89 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.197e-05/0.1363, allocations: 44.84 kB / 0.6873 GB, free: 12.85 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.326e-05/0.1364, allocations: 3.938 kB / 0.6873 GB, free: 12.84 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.284e-05/0.1364, allocations: 23.36 kB / 0.6873 GB, free: 12.82 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.271e-05/0.1365, allocations: 15.97 kB / 0.6873 GB, free: 12.81 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.252e-05/0.1365, allocations: 4 kB / 0.6873 GB, free: 12.8 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002984/0.1368, allocations: 187.7 kB / 0.6875 GB, free: 12.62 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.371e-05/0.1368, allocations: 7.938 kB / 0.6875 GB, free: 12.61 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.267e-05/0.1369, allocations: 49.56 kB / 0.6876 GB, free: 12.56 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002734/0.1371, allocations: 179.6 kB / 0.6878 GB, free: 12.38 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.1372, allocations: 0 / 0.6878 GB, free: 12.38 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.1372, allocations: 0 / 0.6878 GB, free: 12.38 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.036e-06/0.1372, allocations: 0.625 kB / 0.6878 GB, free: 12.38 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004755/0.1377, allocations: 428 kB / 0.6882 GB, free: 11.91 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.1377, allocations: 8.031 kB / 0.6882 GB, free: 11.9 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.202e-05/0.1377, allocations: 37.19 kB / 0.6882 GB, free: 11.86 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.485e-05/0.1378, allocations: 8.781 kB / 0.6882 GB, free: 11.85 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001029/0.1379, allocations: 168.4 kB / 0.6884 GB, free: 11.64 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.1379, allocations: 8.375 kB / 0.6884 GB, free: 11.64 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.092e-05/0.1379, allocations: 384 / 0.6884 GB, free: 11.64 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001669/0.1381, allocations: 82.53 kB / 0.6885 GB, free: 11.55 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.15e-06/0.1381, allocations: 0.7812 kB / 0.6885 GB, free: 11.55 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.759e-06/0.1381, allocations: 0 / 0.6885 GB, free: 11.55 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.1381, allocations: 3.938 kB / 0.6885 GB, free: 11.55 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001164/0.1382, allocations: 53.62 kB / 0.6885 GB, free: 11.5 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000353/0.1386, allocations: 291.2 kB / 0.6888 GB, free: 11.16 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001114/0.1387, allocations: 62.55 kB / 0.6889 GB, free: 11.09 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.874e-05/0.1388, allocations: 51.69 kB / 0.6889 GB, free: 11.04 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.724e-06/0.1388, allocations: 4 kB / 0.6889 GB, free: 11.04 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.585e-05/0.1389, allocations: 30.56 kB / 0.6889 GB, free: 11 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.1389, allocations: 0 / 0.6889 GB, free: 11 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003649/0.1393, allocations: 192.7 kB / 0.6891 GB, free: 10.8 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.781e-05/0.1394, allocations: 81.62 kB / 0.6892 GB, free: 10.7 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.752e-05/0.1394, allocations: 126.8 kB / 0.6893 GB, free: 10.57 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.1395, allocations: 29.7 kB / 0.6893 GB, free: 10.54 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.773e-05/0.1395, allocations: 85.12 kB / 0.6894 GB, free: 10.45 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.497e-05/0.1395, allocations: 11.91 kB / 0.6894 GB, free: 10.44 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.72e-05/0.1396, allocations: 13.72 kB / 0.6895 GB, free: 10.42 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001023/0.1397, allocations: 326.8 kB / 0.6898 GB, free: 10.09 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001094/0.1398, allocations: 59.97 kB / 0.6898 GB, free: 10.03 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.145e-05/0.1399, allocations: 51.97 kB / 0.6899 GB, free: 9.98 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000228/0.1401, allocations: 201.9 kB / 0.6901 GB, free: 9.762 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.1402, allocations: 0 / 0.6901 GB, free: 9.762 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002839/0.1404, allocations: 225 kB / 0.6903 GB, free: 9.523 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.33e-05/0.1405, allocations: 59.41 kB / 0.6903 GB, free: 9.453 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.1405, allocations: 0 / 0.6903 GB, free: 9.453 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.206e-06/0.1405, allocations: 0 / 0.6903 GB, free: 9.453 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.257e-05/0.1406, allocations: 7.984 kB / 0.6903 GB, free: 9.445 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/0.1406, allocations: 4 kB / 0.6903 GB, free: 9.441 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.915e-05/0.1406, allocations: 7.906 kB / 0.6904 GB, free: 9.434 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/0.1407, allocations: 8 kB / 0.6904 GB, free: 9.426 MB / 494.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: 1 (cubSpl.i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 2 * 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 prepare postOptimizeDAE: time 0.0001022/0.1408, allocations: 152.8 kB / 0.6905 GB, free: 9.262 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.659e-05/0.1408, allocations: 0 / 0.6905 GB, free: 9.262 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.022e-05/0.1408, allocations: 11.91 kB / 0.6905 GB, free: 9.246 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.1408, allocations: 0 / 0.6905 GB, free: 9.246 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.1408, allocations: 3.938 kB / 0.6905 GB, free: 9.242 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.1409, allocations: 0 / 0.6905 GB, free: 9.242 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001618/0.141, allocations: 177.5 kB / 0.6907 GB, free: 9.02 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.141, allocations: 7.938 kB / 0.6907 GB, free: 9.012 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.245e-05/0.1411, allocations: 11.98 kB / 0.6907 GB, free: 9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1411, allocations: 0 / 0.6907 GB, free: 9 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.1411, allocations: 0 / 0.6907 GB, free: 9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1411, allocations: 3.938 kB / 0.6907 GB, free: 8.996 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1411, allocations: 0 / 0.6907 GB, free: 8.996 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002679/0.1414, allocations: 249.1 kB / 0.691 GB, free: 8.73 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.274e-05/0.1414, allocations: 88.98 kB / 0.691 GB, free: 8.625 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.91e-05/0.1415, allocations: 12.06 kB / 0.691 GB, free: 8.613 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.415e-05/0.1415, allocations: 7.984 kB / 0.6911 GB, free: 8.605 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.838e-05/0.1416, allocations: 4 kB / 0.6911 GB, free: 8.602 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.76e-06/0.1416, allocations: 0 / 0.6911 GB, free: 8.602 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.514e-05/0.1417, allocations: 103.6 kB / 0.6912 GB, free: 8.5 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1417, allocations: 0 / 0.6912 GB, free: 8.5 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000301/0.142, allocations: 60 kB / 0.6912 GB, free: 8.441 MB / 494.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: 1 (cubSpl.i) * Number of discrete states: 1 (cubSpl.i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 1 * 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.0006909/0.1427, allocations: 0.8367 MB / 0.692 GB, free: 7.574 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003093/0.143, allocations: 246.8 kB / 0.6923 GB, free: 7.309 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.143, allocations: 0 / 0.6923 GB, free: 7.309 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001272/0.1432, allocations: 103.4 kB / 0.6924 GB, free: 7.195 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002098/0.1434, allocations: 8.734 kB / 0.6924 GB, free: 7.188 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001702/0.1451, allocations: 1.771 MB / 0.6941 GB, free: 5.328 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002239/0.1453, allocations: 0.6926 MB / 0.6948 GB, free: 4.609 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.228e-05/0.1454, allocations: 0 / 0.6948 GB, free: 4.609 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.373e-05/0.1454, allocations: 17.53 kB / 0.6948 GB, free: 4.594 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1454, allocations: 0 / 0.6948 GB, free: 4.594 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.734/0.8794, allocations: 2.541 MB / 0.6973 GB, free: 2.266 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002046/0.8797, allocations: 245.6 kB / 0.6975 GB, free: 2.016 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.758/2.638, allocations: 1.719 kB / 0.6975 GB, free: 2.016 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.fmu > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1)